From 528cb08c2a5daa73b66958fdf84b8a590ba41ee5 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Mon, 31 Jul 2023 14:52:50 +0200 Subject: . --- shell/zsh/.zshrc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'shell/zsh/.zshrc') diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc index 96264ff..83f69b7 100644 --- a/shell/zsh/.zshrc +++ b/shell/zsh/.zshrc @@ -6,12 +6,20 @@ export GPG_TTY=$(tty) bindkey -v -fpath=(~/.dotfiles/shell/zsh/tabcompletion $fpath) +fpath=(~/.dotfiles/shell/zsh/tabcompletion + $fpath) autoload -Uz compinit compinit -. ~/.dotfiles/shell/zsh/zsh-git-prompt/zshrc.sh -PROMPT='[%F{green}%n%f@%m %F{green}%~%f $(git_super_status)]$ ' +setopt PROMPT_SUBST +GIT_PS1_SHOWDIRTYSTATE=1 +GIT_PS1_SHOWSTASHSTATE=1 +GIT_PS1_SHOWUNTRACKEDFILES=1 +GIT_PS1_SHOWUPSTREAM=auto +GIT_PS1_SHOWCOLORHINTS=1 +GIT_PS1_STATESEPARATOR='|' +. ~/.dotfiles/shell/git-prompt.sh +PROMPT='[%F{green}%n%f@%m %F{green}%~%f$(__git_ps1 " (%s)")]$ ' [ -n "$(command -v fzf)" ] && . ~/.dotfiles/shell/zsh/fzf/key-bindings.zsh -- cgit v1.2.3-70-g09d2