diff options
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 451f212..c78f92b 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -288,7 +288,7 @@ magit () { } dired () { - emacsclient -e "(dired \"$PWD\")" > /dev/null + emacsclient -e "(dired \"${1:-$PWD}\")" > /dev/null } pid () { |