Bash: trim working directory path to 3 segments
This commit is contained in:
parent
b7901e6d97
commit
05fb0107ee
@ -9,6 +9,7 @@ export VISUAL='vim'
|
|||||||
# cool colored command prompt
|
# 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\]\$ '
|
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'
|
alias ls='ls --color'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user