Explorar el Código

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

master
Rami3L GitHub hace 4 años
padre
commit
45a69f1cbf
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      misc/quitcd/quitcd.fish

+ 1
- 1
misc/quitcd/quitcd.fish Ver fichero

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


Cargando…
Cancelar
Guardar