aboutsummaryrefslogtreecommitdiff
path: root/zsh/prompt
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-01-02 16:21:27 +0100
committerThomas Schmucker <ts@its1.de>2026-01-02 16:21:27 +0100
commita599969f7a9276776931875532c90af881f2a292 (patch)
treed96086dbee21dd2e15b4c910363fc8b78f601568 /zsh/prompt
parent46d361f88dfbc43f82295f61159f7870d4acc48b (diff)
downloaddotfiles-a599969f7a9276776931875532c90af881f2a292.tar.gz
dotfiles-a599969f7a9276776931875532c90af881f2a292.tar.bz2
dotfiles-a599969f7a9276776931875532c90af881f2a292.zip
erster entwurf für eine neue zsh Konfiguration
Diffstat (limited to 'zsh/prompt')
-rw-r--r--zsh/prompt17
1 files changed, 0 insertions, 17 deletions
diff --git a/zsh/prompt b/zsh/prompt
deleted file mode 100644
index f567bbe..0000000
--- a/zsh/prompt
+++ /dev/null
@@ -1,17 +0,0 @@
1# vim: filetype=zsh
2
3autoload -Uz vcs_info
4precmd_vcs_info() { vcs_info }
5precmd_functions+=( precmd_vcs_info )
6setopt prompt_subst
7
8RPROMPT=\$vcs_info_msg_0_
9PROMPT=$'[%F{green}%8>..>%n%>>%F{white}@%F{green}%8>..>%m%>>%F{white}] %F{white}%(4~|.../%3~|%~) %B%F{blue}>%f%b '
10
11zstyle ':vcs_info:*' unstagedstr ' *'
12zstyle ':vcs_info:*' stagedstr ' +'
13zstyle ':vcs_info:*' check-for-changes true
14zstyle ':vcs_info:*' actionformats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%a%u%c%F{3}|%F{1}%a%F{5}]%f'
15zstyle ':vcs_info:*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%u%c%F{5}]%f'
16zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
17