diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2011-12-26 22:05:41 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2011-12-26 22:07:59 +0100 |
commit | c746da1edba21db230101469a4a295d96b2ed6cc (patch) | |
tree | 9ee38f85d3b5d6e0aaa8b30ac9fcc2a0653f9108 | |
parent | 6cab3921c3a7bf0e9e38ff3b387660b2cc11937b (diff) | |
download | dotfiles-c746da1edba21db230101469a4a295d96b2ed6cc.tar.xz |
zshrc: fix extract() error notifications
Wrong usage of quotes caused filenames not to be printed.
-rw-r--r-- | zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -215,10 +215,10 @@ function extract () { *.7z) 7z x "$1" ;; *.Z) uncompress "$1" ;; *.gpg) gpg2 -d "$1" | tar -xvzf - ;; - *) echo 'Error: failed to extract "$1"' ;; + *) echo "Error: failed to extract $1" ;; esac else - echo 'Error: "$1" is not a valid file for extraction' + echo "Error: $1 is not a valid file for extraction" fi } |