You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- # Give this script the abstract name of an account and it will make it the default.
-
- title=$1
- muttdir="$HOME/.config/mutt/"
- muttdirsed=$(echo $muttdir | sed -e 's/\//\\\//g')
-
- grep "$muttdir"personal.muttrc -e "^source .*accounts.*" >/dev/null && \
- sed -i "s/^source .*accounts.*/source ${muttdirsed}accounts\/$title.muttrc/g" "$muttdir"personal.muttrc
|