来自linux,我习惯于将文件到当前环境中。如何在Windows cmd命令提示符中做到这一点?例如,在linux中,我可以为一个长期复杂的命令创建一个别名:
alias shortcut="some super long command with lots of --options and argumentsaliases.bash,甚至在启动shell时(比如在.bashrc或.bash_profile
可能重复: What's the difference between .bashrc, .bash_profile, and .environment?看起来如果我使用 alias ls='ls -F' 在Mac上的.bashrc中,新创建的外壳将不具有该别名。我需要再次键入bash,该别名将生效。如果我在托管公司上登录Linux,.bashrc文件有一个注释行,上面写着: 非登录shell的 .bash</e