2016-11-04 14 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を実行しましたか?

関連する問題