리눅스(ubuntu)/Git 관련

git 자동완성 기능

감데공 2017. 3. 16. 10:14

<Linux>

git이 깔려있는 폴더의

contrib/completion/git-completion.bash  를

홈으로 복사후 

개인의 홈에  .profile 이나 배시 시작 파일에 추가한다.

 

<window oh-my-posh 상용중일 경우>

1. Install-Module posh-git  먼저 posh-git 인스톨 해주고.

2. 윈도우 터미널에서 'notepad $PROFILE' 로 프로화일 설정파일 열어서

    oh-my-posh init 후에 "$env:POSH_GIT_ENABLED = $true" 추가해준다.