make one single invocation to test

This commit is contained in:
Patrick 2022-09-15 18:24:04 -07:00 committed by GitHub
parent 3dac035819
commit c9c74dd753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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" && test $NNNLVL -ge 1
if test -n "$NNNLVL" -a $NNNLVL -ge 1
echo "nnn is already running"
return
end