Sfoglia il codice sorgente

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

master
Rami3L GitHub 4 anni fa
parent
commit
45a69f1cbf
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      misc/quitcd/quitcd.fish

+ 1
- 1
misc/quitcd/quitcd.fish Vedi File

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


Loading…
Annulla
Salva