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.pull/1968/head
parent
49698e269a
commit
953e422bed
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue