From 794cefe2a6af5c4e09b1bd7c9c575ed6039e1c56 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 11 Feb 2018 18:24:21 -0700 Subject: clean up and documentation --- makedefault.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 makedefault.sh (limited to 'makedefault.sh') 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 -- cgit v1.2.3