diff options
Diffstat (limited to 'misc/quitcd/quitcd.zsh')
-rw-r--r-- | misc/quitcd/quitcd.zsh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/misc/quitcd/quitcd.zsh b/misc/quitcd/quitcd.zsh index 5248036..dc83b23 100644 --- a/misc/quitcd/quitcd.zsh +++ b/misc/quitcd/quitcd.zsh @@ -2,11 +2,7 @@ export NNN_TMPFILE="/tmp/nnn" n() { - if [ -n "$1" ]; then - nnn "$1" - else - nnn - fi + nnn "$@" if [ -f $NNN_TMPFILE ]; then . $NNN_TMPFILE |