summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-01-23 14:19:01 -0600
committerZachIR <zachir@librem.one>2025-01-23 14:19:01 -0600
commite3cde1579bbc9e07c0afc71084c9b5e83adf4ed7 (patch)
treefbea41adb9b693ab16620cb5d14d7204d61b2abb
parentdd88548e55fc05f2b9dff855143e87141690b42a (diff)
Un-bold the zsh prompt (fixes issue in some terms)HEADmaster
Namely cool-retro-term doesn't like bolded powerline symbols.
-rw-r--r--zsh/zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 4c633ee..9acd42f 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]\UE0B2%F{015}%s%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b '
+MYPROMPT=$'%S%F{002}[%n@%m]\UE0B2%F{015}%s%~%S%F{002}\UE0B0%#%s\UE0B0%f '
function zle-line-init zle-keymap-select {
- VIM_PROMPT=$'%B%S%F{012}[%n@%m]\UE0B2%F{015}%s%~%S%F{012}\UE0B0%#%s\UE0B0%f%k%b '
+ VIM_PROMPT=$'%S%F{012}[%n@%m]\UE0B2%F{015}%s%~%S%F{012}\UE0B0%#%s\UE0B0%f '
PS1="${${KEYMAP/vicmd/$VIM_PROMPT}/main/$MYPROMPT}"
zle reset-prompt
}