From 05b969cc74bc3d6cd2f50a1a7f57138eae0d5e17 Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Mon, 25 Jul 2022 16:01:30 -0400 Subject: [PATCH] fix extra space in prompt --- bash_tools/theme_zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_tools/theme_zsh.sh b/bash_tools/theme_zsh.sh index 8de9005..b5e5196 100644 --- a/bash_tools/theme_zsh.sh +++ b/bash_tools/theme_zsh.sh @@ -25,7 +25,7 @@ zstyle ':vcs_info:git:*' actionformats '(%b|%a%u%c)' local user="%B%(!.%F{red}.%F{green})%n%f " local user_symbol='%(!.#.$)' -local current_dir="%B%~ %b" +local current_dir="%B%~%b" local vcs_branch='${vcs_info_msg_0_}' #PROMPT="╭─${user}${current_dir}${vcs_branch}