misc/quitcd/quitcd.fish | 2 +- diff --git a/misc/quitcd/quitcd.fish b/misc/quitcd/quitcd.fish index 952ae16927a75948cffcc17ab3821aa21b7dc992..a8c3dc43a2df64e340efc8c4ea6fe1559179644e 100644 --- a/misc/quitcd/quitcd.fish +++ b/misc/quitcd/quitcd.fish @@ -4,7 +4,7 @@ # or, add the lines to the 'config.fish' file. function n --wraps nnn --description 'support nnn quit and change directory' # Block nesting of nnn in subshells - if test -n "$NNNLVL" -a $NNNLVL -ge 1 + if test -n "$NNNLVL" -a "$NNNLVL" -ge 1 echo "nnn is already running" return end