瀏覽代碼

Remove trailing spaces

master
Arun Prakash Jana 3 年之前
父節點
當前提交
9e3bd377b0
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      plugins/fzcd

+ 3
- 3
plugins/fzcd 查看文件

@@ -24,14 +24,14 @@ if [ -n "$sel" ]; then
# by fzf command is absolute # by fzf command is absolute
case $sel in case $sel in
/*) nnn_cd "$sel" ;; /*) nnn_cd "$sel" ;;
*)
*)
# Remove "./" prefix if it exists # Remove "./" prefix if it exists
sel="${sel#./}" sel="${sel#./}"
if [ "$PWD" = "/" ]; then if [ "$PWD" = "/" ]; then
nnn_cd "/$sel" nnn_cd "/$sel"
else else
nnn_cd "$PWD/$sel" nnn_cd "$PWD/$sel"
fi;; fi;;
esac
esac
fi fi

Loading…
取消
儲存