fix wd_prompt multiline croping

pull/1175/head
Florian Molitorisz 2018-04-18 00:44:45 +02:00 committed by GitHub
parent fe78da73cc
commit ea1f235856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ function __powerline_hostname_prompt {
} }
function __powerline_wd_prompt { function __powerline_wd_prompt {
echo "\W|${CWD_THEME_PROMPT_COLOR}" local wd=${PWD##*/}
echo "${wd}|${WD_THEME_PROMPT_COLOR}"
} }
function __powerline_clock_prompt { function __powerline_clock_prompt {