summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 16:22:28 -0600
committerzachir <zachir@librem.one>2023-02-20 16:22:28 -0600
commit763c1f5433c3b9e04cd616eecac5341794396e68 (patch)
treebf436660da16fa4aac988ef8ee050758b6eebf47 /zsh
parent4a94bdea5184ba2ffe695757bc947823e59e98b0 (diff)
change zshrc prompt
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 3330042..9bbea72 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -36,13 +36,13 @@ if [ "$TERM" = "st-256color" ] || [ "$TERM" = "xterm-256color" ]; then
zle -N zle-line-finish
fi
-which pacman >/dev/null && COLOR1="cyan"
-which apt >/dev/null && COLOR1="green"
-which syspatch >/dev/null && COLOR1="red"
+which pacman >/dev/null && COLOR1="014"
+which apt >/dev/null && COLOR1="010"
+which syspatch >/dev/null && COLOR1="009"
-MYPROMPT='%B%F{'"$COLOR1"'}[%n@%m]:%f%F{white}%~%f%F{'"$COLOR1"'}%#%f%b '
+MYPROMPT='%B%S%F{'"$COLOR1"'}[%n@%m]:%f%s%F{015}%~%f%S%F{'"$COLOR1"'}%#%f%s%b '
function zle-line-init zle-keymap-select {
- VIM_PROMPT="%B%F{blue}[%n@%m]:%f%F{white}%~%f%F{blue}%#%f%b "
+ VIM_PROMPT="%B%F{012}[%n@%m]:%f%F{015}%~%f%F{012}%#%f%b "
PS1="${${KEYMAP/vicmd/$VIM_PROMPT}/main/$MYPROMPT}"
#PS1="$PROMPT $KEYMAP"
zle reset-prompt