From: Patrick Date: Fri, 16 Sep 2022 02:57:25 +0000 (-0700) Subject: wrap in quotes just in case X-Git-Tag: v4.7~14^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a7ce7bb36cc835cfb3f53b980b1486887a8666e9;p=nnn.git wrap in quotes just in case --- 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