From 03279ea318805b3fa7545f01385485e8053daea5 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 21 Feb 2019 10:14:17 -0500 Subject: rewrite underway --- autoconf/makedefault.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 autoconf/makedefault.sh (limited to 'autoconf/makedefault.sh') 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 -- cgit v1.2.3