aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-08-11 22:19:05 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-08-11 22:19:05 -0400
commit17cf256dfcf32d298ff29115b747df2df678c7bc (patch)
tree1a0cc2ca1d05aab831c1f223b3db6b9c7ac8f177 /zsh
parentAdd starship and simplify fzf lua (diff)
downloaddotfiles-17cf256dfcf32d298ff29115b747df2df678c7bc.zip
Revert to basic zsh prompt
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/prompt.sh10
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_}%# '