1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

bash-git-prompt でレスポンスを改善するための設定メモ

Posted at

git-prompt, git repo がでかいと遅い...

しかしある程度は git repo の status 表示とかしたい.
bash-git-prompt で必要最低限の設定にして運用します.

GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_IGNORE_SUBMODULES=1
GIT_PROMPT_SHOW_UNTRACKED_FILES=no
GIT_PROMPT_FETCH_REMOTE_STATUS=0

あたりを設定することでそこそこ快適になりました.

zsh

zsh(macOS)の場合はこちら

macOS で git-prompt.bash の代わりに git-prompt.zsh を使い git status 表示を爆速にする
https://qiita.com/syoyo/items/72086ee5ee94c73b0cb0

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?