Parcourir la source

Fix: BSD expr syntax error on empty $NNNLVL (#546)

master
Rami3L GitHub il y a 4 ans
Parent
révision
45a69f1cbf
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      misc/quitcd/quitcd.fish

+ 1
- 1
misc/quitcd/quitcd.fish Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer