summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 17:22:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 17:22:26 +0200
commitd0bd92fdb861fd0aa3d43e1749447681162113f9 (patch)
tree1d9c0080e4d1cf4fcf20cacd232be8c2411905e4
parentb59eea205cf734c9f505da38b68eb3043eedf9b5 (diff)
Add % as prompt symbol
-rw-r--r--.config/zsh/prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/prompt b/.config/zsh/prompt
index a8a1331..2e23f47 100644
--- a/.config/zsh/prompt
+++ b/.config/zsh/prompt
@@ -35,7 +35,7 @@ function set-prompt() {
emulate -L zsh
local top_left='%(5~|%-1~/…/%3~|%4~)'
local top_right="\$vcs_info_msg_0_ "
- local bottom_left='%B%F{%(?.green.red)}$%f%b %{$reset_color%}'
+ local bottom_left='%B%F{%(?.green.red)}%#%f%b %{$reset_color%}'
PROMPT=$top_left$top_right$'\n'$bottom_left
}