浏览代码
Remove trailing spaces
master
Arun Prakash Jana
4 年前
找不到此签名对应的密钥
GPG 密钥 ID: A75979F35C080412
共有
1 个文件被更改,包括
3 次插入 和
3 次删除
-
plugins/fzcd
|
|
@@ -24,14 +24,14 @@ if [ -n "$sel" ]; then |
|
|
|
# by fzf command is absolute |
|
|
|
case $sel in |
|
|
|
/*) nnn_cd "$sel" ;; |
|
|
|
*) |
|
|
|
*) |
|
|
|
# Remove "./" prefix if it exists |
|
|
|
sel="${sel#./}" |
|
|
|
|
|
|
|
|
|
|
|
if [ "$PWD" = "/" ]; then |
|
|
|
nnn_cd "/$sel" |
|
|
|
else |
|
|
|
nnn_cd "$PWD/$sel" |
|
|
|
fi;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
fi |