From 8eccef6e30791472e8fb4a87ed70a136d0cbc9bd Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 29 Oct 2008 04:27:52 +0100 Subject: semantic error fixed --- bashrc/common/alias.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc/common/alias.sh b/bashrc/common/alias.sh index 9712a51..3f33006 100644 --- a/bashrc/common/alias.sh +++ b/bashrc/common/alias.sh @@ -28,6 +28,6 @@ mktar() { alias rar=unrar unzip() { - [[ -f "./${1}" ]] && return 1 + [[ ! -r "./${1}" ]] && return 1 mkcd "${1%%.zip}" && unzip "../${1}" } -- cgit v1.2.3