diff --git a/misc/quitcd/quitcd.fish b/misc/quitcd/quitcd.fish index 952ae169..a8c3dc43 100644 --- a/misc/quitcd/quitcd.fish +++ b/misc/quitcd/quitcd.fish @@ -4,7 +4,7 @@ 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