diff --git a/makedefault.sh b/makedefault.sh index c21a241..e8b1536 100755 --- a/makedefault.sh +++ b/makedefault.sh @@ -6,5 +6,5 @@ title=$1 muttdir="$HOME/.config/mutt/" muttdirsed=$(echo $muttdir | sed -e 's/\//\\\//g') -grep "$muttdir"muttrc -e "^source .*accounts.*" >/dev/null && \ - sed -i "s/^source .*accounts.*/source ${muttdirsed}accounts\/$title.muttrc/g" "$muttdir"muttrc +grep "$muttdir"personal.muttrc -e "^source .*accounts.*" >/dev/null && \ + sed -i "s/^source .*accounts.*/source ${muttdirsed}accounts\/$title.muttrc/g" "$muttdir"personal.muttrc