From 1a625a73cad0fff566236c2624444fe78c6390d1 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 28 May 2024 11:45:37 +0100 Subject: Updates to mail config --- dotrc/.mail_aliases | 2 +- dotrc/.muttrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dotrc/.mail_aliases b/dotrc/.mail_aliases index 60b7344..a26e16c 100644 --- a/dotrc/.mail_aliases +++ b/dotrc/.mail_aliases @@ -1,4 +1,4 @@ alias mum balfour39@gmail.com alias julie juliecowburn@outlook.com alias dad bricowb@googlemail.com -alias work ian.cowburn@censornet.com +alias work ian.cowburn@factset.com diff --git a/dotrc/.muttrc b/dotrc/.muttrc index dee6656..7dd1a1c 100644 --- a/dotrc/.muttrc +++ b/dotrc/.muttrc @@ -5,3 +5,4 @@ set postponed="Drafts" set mailcap_path=~/.mailcap set alias_file=~/.mail_aliases source $alias_file +bind index G imap-fetch-mail -- cgit v1.2.3 From 83b338f37d60e63a27abd19e744e87d86eae8dfb Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 27 Aug 2024 18:24:22 +0100 Subject: Update to extract_zips.sh to handle spaces better --- extract_zips.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/extract_zips.sh b/extract_zips.sh index 749b6f4..e903ee7 100755 --- a/extract_zips.sh +++ b/extract_zips.sh @@ -5,11 +5,14 @@ if [ "x$1" = "x-j" ] ; then shift fi +IFS=' +' + for i in $* ; do - dir=$(basename $i .zip) - mkdir $dir - cd $dir - unzip $switch ../$i + dir="$(basename $i .zip)" + mkdir "$dir" + cd "$dir" + unzip $switch "../$i" cd .. - rm $i + rm "$i" done -- cgit v1.2.3