diff --git a/bash/prompt b/bash/prompt index 4a4b74f..a766fc6 100644 --- a/bash/prompt +++ b/bash/prompt @@ -24,7 +24,8 @@ __truncate_left() { } __truncate_dir() { - dir=${1/#$HOME/\~} #gain some place with '~' + #gain some place with '~' + dir=${1/#$HOME/\~} __truncate_left "$dir" 25 '…' '/' }