I just got lost in a chain of hidden directories

This commit is contained in:
Felix Van der Jeugt 2017-10-20 11:28:10 +02:00
parent 9b3143afd6
commit 294c8bc92c
No known key found for this signature in database
GPG Key ID: 58B209295023754D

2
bashrc
View File

@ -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" ]