diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-07-31 14:52:50 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-07-31 14:52:50 +0200 |
| commit | 528cb08c2a5daa73b66958fdf84b8a590ba41ee5 (patch) | |
| tree | 3827d5b84f8951597870630add472620b877a8e6 /shell/zsh/.zshrc | |
| parent | 68f36cd569697eca5f716347f6094029d501aa29 (diff) | |
.
Diffstat (limited to 'shell/zsh/.zshrc')
| -rw-r--r-- | shell/zsh/.zshrc | 14 |
1 files changed, 11 insertions, 3 deletions
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 |
