diff --git a/scripts/quitcd/quitcd.bash b/scripts/quitcd/quitcd.bash index 5c12ae23..9e87d723 100644 --- a/scripts/quitcd/quitcd.bash +++ b/scripts/quitcd/quitcd.bash @@ -1,7 +1,7 @@ -export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)" - n() { + export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)" + nnn "$@" if [ -f $NNN_TMPFILE ]; then