-
The prompt is very, very, very slow and it still shows the git branch even after removing all plugins in the plugin config and rm -rf ing the .oh-my-zsh/plugins dir. What does one have to do to get rid of this and make this to work again short of removing the entire .oh-my-zsh folder? Why is this imposed in such a way that it cannot be stopped? This happens after a fresh install, w/ a fresh config, with or without 'git' in the plugins line. Surely this can't be intended behavior? It also happens for prompts that show the git branch but not at least for xiong-chiamiov or others (I assume that don't). To Reproduce Expected behavior Desktop (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
That is the git config oh-my-zsh.hide-info 1 # git_prompt_info
git config oh-my-zsh.hide-status 1 # git_prompt_status
git config oh-my-zsh.hide-dirty 1 # parse_git_dirty You can also disable them entirely by either (1) redefining the function with an empty body in your zshrc file (after OMZ is sourced), or (2) running the commands above with a git_prompt_info(){} # this overwrites the git_prompt_info so it does nothing git config --global oh-my-zsh.hide-info 1 # git_prompt_info
git config --global oh-my-zsh.hide-status 1 # git_prompt_status
git config --global oh-my-zsh.hide-dirty 1 # parse_git_dirty In our experience |
Beta Was this translation helpful? Give feedback.
-
Having the same issue, I find the source code by filtering plugins/gitfast/gitfast.plugin.zsh
8:function git_prompt_info() {
lib/git.zsh
12:function git_prompt_info() { Does the gitfast plugin overwrite the origin |
Beta Was this translation helpful? Give feedback.
That is the
git_prompt_info
/git_prompt_status
/parse_git_dirty
functions. You can disable them per repository with one of these run inside the git repository:You can also disable them entirely by either (1) redefining the function with an empty body in your zshrc file (after OMZ is sourced), or (2) running the commands above with a
--global
flag.git config --global oh-my-zsh.hide-info 1 # git_prompt_info git config --global oh-my-zsh.hide-sta…