Browse Source

this might actually werk

tags/v3.1
Luke Smith 5 years ago
parent
commit
9fbb5e6832
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
2 changed files with 6 additions and 6 deletions
  1. +4
    -2
      README.md
  2. +2
    -4
      bin/mw

+ 4
- 2
README.md View File

@@ -19,11 +19,13 @@ Specifically, this wizard:
## 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
```

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

Install these required programs:

- `neomutt` - the email client.


+ 2
- 4
bin/mw View File

@@ -265,15 +265,13 @@ asktype() { while : ; do
*) echo "Write out either yes or no completely. Try again or press ctrl-c to quit." ;;
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"
cp -v "$muttshare/mailcap" "$muttdir"
cp -v "$muttshare/muttrc" "$muttdir"
}


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


Loading…
Cancel
Save