浏览代码

Favor selection over current for nmv

master
KlzXS 3 年前
父节点
当前提交
c9c1d0d454
找不到此签名对应的密钥 GPG 密钥 ID: FF9B81B098D5BACA
共有 1 个文件被更改,包括 3 次插入6 次删除
  1. +3
    -6
      plugins/.nmv

+ 3
- 6
plugins/.nmv 查看文件

@@ -27,12 +27,9 @@ exit_status=0
dst_file=$(mktemp "$TMPDIR/.nnnXXXXXX")

if [ -s "$selection" ]; then
printf "Rename 'c'urrent / 's'election? "
read -r resp

if ! [ "$resp" = "c" ] && ! [ "$resp" = "s" ]; then
exit 1
fi
resp="s"
else
resp="c"
fi

if [ "$resp" = "s" ]; then


正在加载...
取消
保存