summaryrefslogtreecommitdiff
path: root/autoconf/makedefault.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-21 10:14:17 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-21 10:14:17 -0500
commit03279ea318805b3fa7545f01385485e8053daea5 (patch)
treeb015842b634f78d2f0f3a275ef561a75c153dab8 /autoconf/makedefault.sh
parentf2dcd92c30d4d595a3daa4f8e977ffb967839b69 (diff)
rewrite underway
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