Merge pull request #1968 from gaelicWizard/oops
theme/powerline: fix an oops in the last patchpull/1975/head
commit
48c17e95c3
|
|
@ -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