Bash: trim working directory path to 3 segments

This commit is contained in:
DuckDuckWhale 2021-10-22 14:26:34 -07:00
parent b7901e6d97
commit 05fb0107ee
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -9,6 +9,7 @@ export VISUAL='vim'
# cool colored command prompt
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;11m\]\u\[\e[00;38;5;208m\]@\[\e[01;38;5;27m\]\h\[\e[00m\]:\[\e[00;38;5;45m\]\w\[\e[0m\]\$ '
PROMPT_DIRTRIM=3
alias ls='ls --color'