this might actually werk
This commit is contained in:
parent
da764165f5
commit
9fbb5e6832
@ -19,11 +19,13 @@ Specifically, this wizard:
|
|||||||
## Install and Use
|
## Install and Use
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/LukeSmithxyz/mutt-wizard ~/.config/mutt
|
git clone https://github.com/LukeSmithxyz/mutt-wizard
|
||||||
cd ~/.config/mutt
|
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.
|
||||||
|
6
bin/mw
6
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() { \
|
init() { echo "Initializing a mutt-wizard configuration..."
|
||||||
echo "Initializing a mutt-wizard configuration..."
|
[ -f "$accdir" ] && echo "There is already a preexisting config. Purge the previous to reinit." && return 1
|
||||||
[ -f "$muttdir/muttrc" ] && 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…
Reference in New Issue
Block a user