pd: Print new $PWD.

This commit is contained in:
Peter Holzer 2015-04-29 09:02:46 +02:00
parent 185dbc44b5
commit b769c51e52
1 changed files with 2 additions and 1 deletions

3
.zshrc
View File

@ -44,7 +44,8 @@ pd(){
else
pushd "$@"
fi
namedir $(echo $(basename $PWD | tr -cd 'A-Za-z0-9_') | sed -e 's/^[0-9]/_&/')
namedir $(echo $(basename "$PWD" | tr -cd 'A-Za-z0-9_') | sed -e 's/^[0-9]/_&/')
echo "$PWD"
}
setenv(){