add support for PROMPT_DIRTRIM to eriner
This commit is contained in:
parent
bf10ce72c5
commit
024fbd203e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ prompt_git() {
|
||||||
|
|
||||||
# Dir: current working directory
|
# Dir: current working directory
|
||||||
prompt_dir() {
|
prompt_dir() {
|
||||||
prompt_segment cyan ${PRIMARY_FG} ' %~ '
|
prompt_segment cyan ${PRIMARY_FG} " %${PROMPT_DIRTRIM:-}~ "
|
||||||
}
|
}
|
||||||
|
|
||||||
# Status:
|
# Status:
|
||||||
|
|
Loading…
Reference in a new issue