Bash, Zsh Slow Only Certain Git repo

jelly
1 min readMay 7, 2020

--

Bash, Zsh 를 사용하면서 특정 Git Repsitory 에서 ls 와 같은 명령어가 느리게 실행 되는 경우가 있다. 이런 경우는 아래와 같은 git config 설정으로 해결이 가능하다.

[Bash인경우]

git config --add bash-it.hide-status 1
git config --add bash-it.hide-dirty 1

[Zsh 인경우]

git config --add oh-my-zsh.hide-status 1
git config --add oh-my-zsh.hide-dirty 1

이렇게 설정을 하면 ls 와 같은 명령어가 느리게 실행 되는 문제가 해결이 됩니다.

--

--

jelly
jelly

Written by jelly

Test Eng? Test Devloper? Devloper?

No responses yet