diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-11 22:19:05 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-11 22:19:05 -0400 |
| commit | 17cf256dfcf32d298ff29115b747df2df678c7bc (patch) | |
| tree | 1a0cc2ca1d05aab831c1f223b3db6b9c7ac8f177 /zsh | |
| parent | Add starship and simplify fzf lua (diff) | |
| download | dotfiles-17cf256dfcf32d298ff29115b747df2df678c7bc.zip | |
Revert to basic zsh prompt
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/.zsh/prompt.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/zsh/.zsh/prompt.sh b/zsh/.zsh/prompt.sh index 53d565f..ef015fd 100644 --- a/zsh/.zsh/prompt.sh +++ b/zsh/.zsh/prompt.sh @@ -1,3 +1,11 @@ #!/usr/bin/env zsh -eval "$(starship init zsh)" +autoload -Uz vcs_info +zstyle ":vcs_info:*" enable git svn +zstyle ':vcs_info:git:*' formats '%F{green}(%b)%f ' +precmd() { + vcs_info +} +setopt prompt_subst +NEWLINE=$'\n' +PROMPT=' %2~ ${vcs_info_msg_0_}%# ' |