瀏覽代碼

ui fix

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
71c80b72d5
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      mw

+ 2
- 2
mw 查看文件

@@ -251,9 +251,9 @@ wipe () { rm -rf "$HOME/.config/offlineimap/config" "$accdir" "$creddir" "$muttd
[ -z "$gpgemail" ] && askgpg

pick() { \
numbered="$(grep "^accounts *=" "$HOME/.config/offlineimap/config" | sed 's/accounts *= *//g;s/,/ /g;s/ \+/\n/g' | nl)"# > "$tmpdir/numbered"
numbered="$(grep "^accounts *=" "$HOME/.config/offlineimap/config" | sed 's/accounts *= *//g;s/,/ /g;s/ \+/\n/g' | nl)"
[ "$(echo "$numbered" | wc -w)" = 0 ] && printf "No accounts to delete.\\n" && return 1
printf "Select (an) account(s) to %s.\\n" "$1"
[ -z "$numbered" ] || return 1
echo "$numbered"
read -r input
title="$(echo "$numbered" | grep "$input" | awk '{print $2}')"


Loading…
取消
儲存