diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
commit | ec44300155e99268cb2b23deb7e789d0bb4b1723 (patch) | |
tree | 766bee13af37a2cab40fe5ceadbf7cb5b9d7b6b4 /gitstatus/gitstatus.prompt.sh | |
parent | 25e5f5985f0b977461c0d14663a910363684014e (diff) | |
parent | 80ec734a953d930838ea6839923c97c3da880a0d (diff) |
Merge commit '80ec734a953d930838ea6839923c97c3da880a0d'
Diffstat (limited to 'gitstatus/gitstatus.prompt.sh')
-rw-r--r-- | gitstatus/gitstatus.prompt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.prompt.sh b/gitstatus/gitstatus.prompt.sh index f27bcc39..8ee28de0 100644 --- a/gitstatus/gitstatus.prompt.sh +++ b/gitstatus/gitstatus.prompt.sh @@ -86,6 +86,7 @@ gitstatus_stop && gitstatus_start -s -1 -u -1 -c -1 -d -1 # On every prompt, fetch git status and set GITSTATUS_PROMPT. PROMPT_COMMAND=gitstatus_prompt_update +PROMPT_DIRTRIM=3 # Enable promptvars so that ${GITSTATUS_PROMPT} in PS1 is expanded. shopt -s promptvars |