diff --git a/bashrc b/bashrc index a5bf4af..75a9101 100644 --- a/bashrc +++ b/bashrc @@ -11,7 +11,7 @@ prompt_git() { fi } prompt_pwd() { - pwd | sed -e "s_${HOME}_~_" -e 's_\(/*.\)[^/]*/_\1/_g' + pwd | sed -e "s_${HOME}_~_" -e 's_\(/*\.*.\)[^/]*/_\1/_g' } prompt_status() { if [ "$?" = "0" ]