summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-01-21 19:12:56 -0600
committerZachIR <zachir@librem.one>2025-01-21 19:12:56 -0600
commita9be74adf57403f7840d09f7a0081b6390864d5a (patch)
treeb3303908333ad1baf367097b5bd292e51f869376 /zsh
parent95d509eeaba97aa0a35bb8c42225495e69d3a2c1 (diff)
Change zsh prompt to have <~> for powerline
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index c95feb3..0d6ecd5 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -44,9 +44,9 @@ bindkey "${key[End]}" end-of-line
bindkey "${key[PageUp]}" history-substring-search-up
bindkey "${key[PageDown]}" history-substring-search-down
-MYPROMPT=$'%B%S%F{002}[%n@%m]%s\UE0B0%F{015}%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b '
+MYPROMPT=$'%B%S%F{002}[%n@%m]\UE0B2%F{015}%s%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b '
function zle-line-init zle-keymap-select {
- VIM_PROMPT=$'%B%S%F{012}[%n@%m]%s\UE0B0%F{015}%~%S%F{012}\UE0B0%#%s\UE0B0%f%k%b '
+ VIM_PROMPT=$'%B%S%F{012}[%n@%m]\UE0B2%F{015}%s%~%S%F{012}\UE0B0%#%s\UE0B0%f%k%b '
PS1="${${KEYMAP/vicmd/$VIM_PROMPT}/main/$MYPROMPT}"
zle reset-prompt
}