소스 검색

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

master
Rami3L GitHub 4 년 전
부모
커밋
45a69f1cbf
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      misc/quitcd/quitcd.fish

+ 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


불러오는 중...
취소
저장