Merge pull request #1175 from sub77/patch-3
fix wd_prompt multiline croping
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user