mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-03 04:20:01 +02:00
support PROMPT_DIRTRIM in agnoster
This commit is contained in:
parent
22632aac7c
commit
4f45d235ce
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ prompt_hg() {
|
||||||
|
|
||||||
# Dir: current working directory
|
# Dir: current working directory
|
||||||
prompt_dir() {
|
prompt_dir() {
|
||||||
prompt_segment blue black '%~'
|
prompt_segment blue black "%${PROMPT_DIRTRIM:-}~"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Virtualenv: current working virtualenv
|
# Virtualenv: current working virtualenv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue