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.
This commit is contained in:
John D Pell
2021-10-09 21:06:31 -07:00
parent 49698e269a
commit 953e422bed

View File

@@ -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}"
}