Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make Oh-my-zsh + Agnoster theme run faster with git prompts

Edit ~/.zshrc and uncomment the following line DISABLE_UNTRACKED_FILES_DIRTY="true"

add this to projects mounted over NFS git config --add oh-my-zsh.hide-status 1

also, you could edit ~/.oh-my-zsh/plugins/gitfast/gitfast.plugin.zsh but changes might potentially be lost in udpates

function git_prompt_info() {
  ref=$(git symbolic-ref HEAD 2> /dev/null) || return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.