I just got lost in a chain of hidden directories
This commit is contained in:
parent
9b3143afd6
commit
294c8bc92c
1 changed files with 1 additions and 1 deletions
2
bashrc
2
bashrc
|
@ -11,7 +11,7 @@ prompt_git() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
prompt_pwd() {
|
prompt_pwd() {
|
||||||
pwd | sed -e "s_${HOME}_~_" -e 's_\(/*.\)[^/]*/_\1/_g'
|
pwd | sed -e "s_${HOME}_~_" -e 's_\(/*\.*.\)[^/]*/_\1/_g'
|
||||||
}
|
}
|
||||||
prompt_status() {
|
prompt_status() {
|
||||||
if [ "$?" = "0" ]
|
if [ "$?" = "0" ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue