Added a new function to display current directory only
This commit is contained in:
@@ -93,6 +93,10 @@ function __powerline_cwd_prompt {
|
|||||||
echo "$(pwd | sed "s|^${HOME}|~|")|${CWD_THEME_PROMPT_COLOR}"
|
echo "$(pwd | sed "s|^${HOME}|~|")|${CWD_THEME_PROMPT_COLOR}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function __powerline_wd_prompt {
|
||||||
|
echo "\W|${CWD_THEME_PROMPT_COLOR}"
|
||||||
|
}
|
||||||
|
|
||||||
function __powerline_clock_prompt {
|
function __powerline_clock_prompt {
|
||||||
echo "$(date +"${THEME_CLOCK_FORMAT}")|${CLOCK_THEME_PROMPT_COLOR}"
|
echo "$(date +"${THEME_CLOCK_FORMAT}")|${CLOCK_THEME_PROMPT_COLOR}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user