From 05fb0107ee74471cbeb2016ef7ea589474700eae Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Fri, 22 Oct 2021 14:26:34 -0700 Subject: [PATCH] Bash: trim working directory path to 3 segments --- bash/.bashrc.append | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/.bashrc.append b/bash/.bashrc.append index a4c896e..e8ff566 100644 --- a/bash/.bashrc.append +++ b/bash/.bashrc.append @@ -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'