diff options
-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 |