diff options
author | Alan Pearce | 2014-06-25 14:25:19 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-25 14:25:19 +0100 |
commit | 7172c6e38f35d6e076dff3af84094c141f2203da (patch) | |
tree | 9b5987e27b0ec1fa15e3692f8f72e696e2965223 | |
parent | e2f45f697ae4f1efc40ecb234679b33a7d99dc68 (diff) | |
download | nixfiles-7172c6e38f35d6e076dff3af84094c141f2203da.tar.lz nixfiles-7172c6e38f35d6e076dff3af84094c141f2203da.tar.zst nixfiles-7172c6e38f35d6e076dff3af84094c141f2203da.zip |
zsh: dired: take an optional dir argument
-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 451f2121..c78f92b9 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 () { |