muttdir fixed

This commit is contained in:
Luke 2018-02-10 09:00:03 -07:00
parent efd3f26919
commit 7e14425ec7
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
muttdir="$HOME/Repos/email-mutt-offline/" muttdir="$HOME/.config/mutt/"
# This script will remove an account from ~/.offlineimaprc and the # This script will remove an account from ~/.offlineimaprc and the
# designated location in ~/.config/mutt/accounts. # designated location in ~/.config/mutt/accounts.
@ -17,4 +17,4 @@ removeAccount() { sed -ie "
" ~/.offlineimaprc " ~/.offlineimaprc
rm "$muttdir"accounts/$title.muttrc rm "$muttdir"accounts/$title.muttrc
echo $title deleted. ;} echo $title deleted. ;}
removeAccount $title #removeAccount $title