diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-10-14 13:25:34 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-10-14 13:25:34 +0100 |
commit | d1718c3e581271de9014ab2f2b41e69c9899f4ac (patch) | |
tree | 4e7aedac05cd12149d768a005b1ca5e76e0f8060 | |
parent | 1fc3fa1c3a68a8ee8439c2fec00cbb4c551ede0a (diff) | |
parent | 83b338f37d60e63a27abd19e744e87d86eae8dfb (diff) |
-rw-r--r-- | dotrc/.mail_aliases | 2 | ||||
-rw-r--r-- | dotrc/.muttrc | 1 | ||||
-rwxr-xr-x | extract_zips.sh | 13 |
3 files changed, 10 insertions, 6 deletions
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 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 |