pull/1974/head
zou000 2021-10-16 22:29:25 -07:00 committed by GitHub
parent bb3a51f742
commit 7911f770cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -142,10 +142,7 @@ function __powerline_scm_prompt() {
} }
function __powerline_cwd_prompt() { function __powerline_cwd_prompt() {
# For maximum backwards compatibility: no outer quotes, escape ~ echo "\w|${CWD_THEME_PROMPT_COLOR}"
local cwd=${PWD/#$HOME/\~}
echo "${cwd}|${CWD_THEME_PROMPT_COLOR}"
} }
function __powerline_hostname_prompt() { function __powerline_hostname_prompt() {