diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -13,8 +13,6 @@ autoload -Uz compinit compinit # End of lines added by compinstall -PROMPT="$ " - # Additional completion options zstyle ':completion:*' use-cache on zstyle ':completion:*:cd:*' ignore-parents parent pwd @@ -26,6 +24,7 @@ zstyle ':completion:*:kill:*' force-list always zstyle ':completion:*' squeeze-slashes true source /usr/share/doc/pkgfile/command-not-found.zsh +source /usr/share/git/completion/git-prompt.sh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh @@ -46,6 +45,12 @@ export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 export GPGKEY=90D8F8E2C830F6129B2FBB1133836B30AA014B82 export GPG_TTY=$(tty) +setopt PROMPT_SUBST +GIT_PS1_SHOWUPSTREAM=auto +GIT_PS1_SHOWDIRTYSTATE=1 +GIT_PS1_SHOWUNTRACKEDFILES=1 +PS1='$(__git_ps1 "(%s)")\$ ' + # Make shell stuff behave nicely man() { env \ |