浏览代码

newline in prompt

tags/v3.1
Luke Smith 5 年前
父节点
当前提交
5929cd3025
找不到此签名对应的密钥 GPG 密钥 ID: 4C50B54A911F6252
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mw

+ 1
- 1
mw 查看文件

@@ -304,7 +304,7 @@ pick() { \
[ -z "$input" ] && return 1
title="$(echo "$numbered" | grep "$input" | awk '{print $2}')"
[ -z "$title" ] && printf "Invalid response." && return 1
[ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null
[ -n "$2" ] && printf "Are you sure you want to %s the \`%s\` account?\\n" "$1" "$title" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null
}

delete() { sed -i "


正在加载...
取消
保存