瀏覽代碼

this might actually werk

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

+ 4
- 2
README.md 查看文件

@@ -19,11 +19,13 @@ Specifically, this wizard:
## Install and Use ## Install and Use


``` ```
git clone https://github.com/LukeSmithxyz/mutt-wizard ~/.config/mutt
cd ~/.config/mutt
git clone https://github.com/LukeSmithxyz/mutt-wizard
cd mutt-wizard
sudo make install sudo make install
``` ```


The mutt-wizard is run with the command `mw`. It also installs the `mailsync` command.

Install these required programs: Install these required programs:


- `neomutt` - the email client. - `neomutt` - the email client.


+ 2
- 4
bin/mw 查看文件

@@ -265,15 +265,13 @@ asktype() { while : ; do
*) echo "Write out either yes or no completely. Try again or press ctrl-c to quit." ;; *) echo "Write out either yes or no completely. Try again or press ctrl-c to quit." ;;
esac; done ;} esac; done ;}


init() { \
echo "Initializing a mutt-wizard configuration..."
[ -f "$muttdir/muttrc" ] && echo "There is already a preexisting config. Purge the previous to reinit." && return 1
init() { echo "Initializing a mutt-wizard configuration..."
[ -f "$accdir" ] && echo "There is already a preexisting config. Purge the previous to reinit." && return 1
mkdir -p "$muttdir" "$accdir" mkdir -p "$muttdir" "$accdir"
cp -v "$muttshare/mailcap" "$muttdir" cp -v "$muttshare/mailcap" "$muttdir"
cp -v "$muttshare/muttrc" "$muttdir" cp -v "$muttshare/muttrc" "$muttdir"
} }



case "$1" in case "$1" in
init) init ;; init) init ;;
ls) list ;; ls) list ;;


Loading…
取消
儲存