commit 67d2b3b6cf6b843b2687e436a8656f25fb31a052
parent b4461a75dac544c6289e36d4d018373058bc40c5
Author: pyratebeard <root@pyratebeard.net>
Date: Wed, 26 Jul 2017 18:30:04 +0100
new 'tiny' prompt
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/zsh/.zsh/prompt.zsh b/zsh/.zsh/prompt.zsh
@@ -11,7 +11,7 @@ ICO_DIVERGED="⥮"
COLOR_ROOT="%F{red}"
COLOR_USER="%F{cyan}"
COLOR_NORMAL="%F{white}"
-PROMPT_STYLE="classic"
+PROMPT_STYLE="tiny"
#█▓▒░ allow functions in the prompt
setopt PROMPT_SUBST
@@ -91,6 +91,10 @@ ${USER_LEVEL}└─ - %f'
mini)
PROMPT='${USER_LEVEL}[${COLOR_NORMAL}%~${USER_LEVEL}]$(GIT_PROMPT)── - %f'
;;
+# tiny
+tiny)
+PROMPT='${USER_LEVEL}[${COLOR_NORMAL}%~${USER_LEVEL}]$(GIT_PROMPT) >> %f'
+;;
# classic
*)
PROMPT='%F{cyan}${USERNAME}@%F{white}[${HOSTNAME}]$(GIT_PROMPT)%F{white} : %~# '