diff options
author | Luke <luke@lukesmith.xyz> | 2018-02-11 18:24:21 -0700 |
---|---|---|
committer | Luke <luke@lukesmith.xyz> | 2018-02-11 18:24:21 -0700 |
commit | 794cefe2a6af5c4e09b1bd7c9c575ed6039e1c56 (patch) | |
tree | c5f2d51907f39bdaa33a91e27a4ab15edffb1877 /makedefault.sh | |
parent | 4892aeb3efad552bb98f70d3e1f5ecc3fd2933e6 (diff) |
clean up and documentation
Diffstat (limited to 'makedefault.sh')
-rwxr-xr-x | makedefault.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/makedefault.sh b/makedefault.sh deleted file mode 100755 index e8b1536..0000000 --- a/makedefault.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 |