From 953e422bed2f9b0ba01ec998fe619e523819551f Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sat, 9 Oct 2021 21:06:31 -0700 Subject: [PATCH] theme/powerline: fix an oops in the last patch The tilde should not have been escaped, and in fact I did not have it escaped in my main branch, but the PR I submitted did have it escaped and...now it shows up in the prompt line for all the PowerLine themes... oops. --- themes/powerline/powerline.base.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/powerline/powerline.base.bash b/themes/powerline/powerline.base.bash index ade3670d..cffaa98d 100644 --- a/themes/powerline/powerline.base.bash +++ b/themes/powerline/powerline.base.bash @@ -142,7 +142,7 @@ function __powerline_scm_prompt() { } function __powerline_cwd_prompt() { - local cwd="${PWD/$HOME/\~}" + local cwd="${PWD/$HOME/~}" echo "${cwd}|${CWD_THEME_PROMPT_COLOR}" }