commit a7ce7bb36cc835cfb3f53b980b1486887a8666e9
parent c9c74dd753d6f833fc77831dd0b1310ff81a389c
Author: Patrick <patrickf3139@gmail.com>
Date: Thu, 15 Sep 2022 19:57:25 -0700
wrap in quotes just in case
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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