diff --git a/.gitconfig b/.gitconfig index 16c25e8..93e9801 100644 --- a/.gitconfig +++ b/.gitconfig @@ -6,7 +6,7 @@ ci = commit st = status br = branch - hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short + hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --date-order type = cat-file -t dump = cat-file -p [push] 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" }