2016-11-04 3 views
1

내가 VCS의 통합 단말기를 사용하기 위해 노력하고있어하지만 내 bash_profile 스크립트를 좋아하지 않는다.비주얼 스튜디오 통합 터미널 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을 실행 했습니까?