소스 검색
Exit if dir is unchanged
master
Arun Prakash Jana
4 년 전
No known key found for this signature in database
GPG 키 ID: A75979F35C080412
1개의 변경된 파일과
2개의 추가작업 그리고
0개의 파일을 삭제
-
plugins/fzcd
|
|
@@ -26,6 +26,8 @@ fi |
|
|
|
if [ -n "$sel" ]; then |
|
|
|
if ! [ -d "$sel" ]; then |
|
|
|
sel=$(dirname "$sel") |
|
|
|
elif [ "$sel" = "." ]; then |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
|
|
|
|
# Remove "./" prefix if it exists |
|
|
|