ソースを参照

delete must match exact

tags/v3.1
Luke Smith 5年前
コミット
401cbbd002
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4C50B54A911F6252
2個のファイルの変更4行の追加4行の削除
  1. +2
    -2
      bin/muttimage
  2. +2
    -2
      mw

+ 2
- 2
bin/muttimage ファイルの表示

@@ -1,8 +1,8 @@
#! /bin/sh
#### Determine size of Terminal
height=`stty size | awk 'BEGIN {FS = " "} {print $1;}'`
width=`stty size | awk 'BEGIN {FS = " "} {print $2;}'`
### Display Image / offset with mutt bar
echo -e "2;3;\n0;1;210;20;$((width*7-250));$((height*14-100));0;0;0;0;$1\n4;\n3;" | /usr/lib/w3m/w3mimgdisplay &

+ 2
- 2
mw ファイルの表示

@@ -273,11 +273,11 @@ pick() { numbered="$(ls $accdir/*muttrc | sed "s/.*\///;s/\..*//" | nl)"
[ -z "$title" ] && printf "Invalid response." && return 1
return 0 ;}

delete() { sed -i "/IMAPAccount $title/,/# End profile/d" "$mbsyncrc"
delete() { sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc"
rm -rf "${accdir:?}/${title:?}" "$creddir/$title.gpg" "$accdir/$title.muttrc"
sed -i "/$title.muttrc/d" "$muttdir/personal.muttrc"
sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"
confirm "delete the local mail repository as well?" && rm -rf "${maildir:?}/${title:?}"
#confirm "delete the local mail repository as well?" && rm -rf "${maildir:?}/${title:?}"
}

choosecron() { ! pgrep crond >/dev/null && echo "No cron manager running. Install/enable one and then select this option again." && return 1


読み込み中…
キャンセル
保存