Created
November 30, 2016 15:14
-
-
Save DanBennettUK/2d67c8acc1b80773f6417bf528ed10ba to your computer and use it in GitHub Desktop.
Additional .zshrc changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH_THEME="gentoo" | |
# Speed up GIT | |
function git_prompt_info() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}${ZSH_THEME_GIT_PROMPT_CLEAN}${ZSH_THEME_GIT_PROMPT_SUFFIX}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment