summaryrefslogtreecommitdiff
path: root/autoconf/makedefault.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/makedefault.sh')
-rwxr-xr-xautoconf/makedefault.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/autoconf/makedefault.sh b/autoconf/makedefault.sh
deleted file mode 100755
index e8b1536..0000000
--- a/autoconf/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