【发布时间】:2019-10-05 07:55:00
【问题描述】:
我在 Windows 10 机器上,我刚刚安装了 VS-Code 来代替 Atom。我尝试在我创建的 VS-Code Bash 终端中使用永久别名,并且在超级终端中运行良好,但它在 VS-Code 终端中不起作用。为什么会这样?我该如何解决?
我有
alias mongod="/c/Program\ files/MongoDB/Server/4.0/bin/mongod.exe"
alias mongo="/c/Program\ Files/MongoDB/Server/4.0/bin/mongo.exe"
在我的“.bash_profile”文件中
【问题讨论】:
标签: visual-studio-code git-bash