fix wd_prompt multiline croping

This commit is contained in:
Florian Molitorisz
2018-04-18 00:44:45 +02:00
committed by GitHub
parent fe78da73cc
commit ea1f235856

View File

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