Rami3L
GitHub
преди 4 години
родител
ревизия
45a69f1cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
променени са
1 файла, в които са
добавени 1 реда и са
изтрити 1 реда
-
misc/quitcd/quitcd.fish
|
|
@@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
function n --description 'support nnn quit and change directory' |
|
|
|
# Block nesting of nnn in subshells |
|
|
|
if test -n NNNLVL |
|
|
|
if test -n "$NNNLVL" |
|
|
|
if [ (expr $NNNLVL + 0) -ge 1 ] |
|
|
|
echo "nnn is already running" |
|
|
|
return |
|
|
|