diff --git a/.bashrc b/.bashrc index f78513d..d12f534 100644 --- a/.bashrc +++ b/.bashrc @@ -77,7 +77,7 @@ bind "set completion-ignore-case on" # usage: ex ex () { - if [ -f $1 ] ; then + if [ -f "$1" ] ; then case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ;;