diff options
author | Luke <luke@lukesmith.xyz> | 2018-02-11 16:55:19 -0700 |
---|---|---|
committer | Luke <luke@lukesmith.xyz> | 2018-02-11 16:55:19 -0700 |
commit | e79d940a32a1884a1b14c8dab4ec07476f9bf5d6 (patch) | |
tree | 0df2c0711672e82eb49bb8a91fa517e86c56d7d9 /makedefault.sh | |
parent | 43799fb7a9556546f75dede8a34fe22fb2613b4f (diff) |
makedefault fixed
Diffstat (limited to 'makedefault.sh')
-rwxr-xr-x | makedefault.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |