makedefault fixed
This commit is contained in:
parent
43799fb7a9
commit
e79d940a32
@ -6,5 +6,5 @@ title=$1
|
|||||||
muttdir="$HOME/.config/mutt/"
|
muttdir="$HOME/.config/mutt/"
|
||||||
muttdirsed=$(echo $muttdir | sed -e 's/\//\\\//g')
|
muttdirsed=$(echo $muttdir | sed -e 's/\//\\\//g')
|
||||||
|
|
||||||
grep "$muttdir"muttrc -e "^source .*accounts.*" >/dev/null && \
|
grep "$muttdir"personal.muttrc -e "^source .*accounts.*" >/dev/null && \
|
||||||
sed -i "s/^source .*accounts.*/source ${muttdirsed}accounts\/$title.muttrc/g" "$muttdir"muttrc
|
sed -i "s/^source .*accounts.*/source ${muttdirsed}accounts\/$title.muttrc/g" "$muttdir"personal.muttrc
|
||||||
|
Loading…
Reference in New Issue
Block a user