2016-11-04 52 views
1

我試圖在VCS中使用集成終端,但它不像我的bash_profile腳本。Visual Studio集成的終端bash錯誤

我收到以下錯誤(由相應的代碼) -

bash: parse_git_branch: command not found 
parse_git_branch() { 
    git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' 
} 

bash: work: command not found 
alias work="cd ./blah" 

我不知道到底爲什麼它不是在VCS工作,但在Iterm2和終端精細的作品。

回答

3

您是否在您的設置中設置了"terminal.integrated.shellArgs.osx": ["-l"],因此它會運行您的bash_profile