diff --git a/.zshrc b/.zshrc index 8800fe6..7037ace 100644 --- a/.zshrc +++ b/.zshrc @@ -44,7 +44,7 @@ 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_') | tr 'A-Z' 'a-z' | sed -e 's/^[0-9]/_&/') echo "$PWD" }