mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
wrap in quotes just in case
This commit is contained in:
parent
c9c74dd753
commit
a7ce7bb36c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue