소스 검색
Fix: BSD expr syntax error on empty $NNNLVL (#546)
master
Rami3L
GitHub
4 년 전
No known key found for this signature in database
GPG 키 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 |
|
|
|