summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 04:27:52 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 04:27:52 +0100
commit8eccef6e30791472e8fb4a87ed70a136d0cbc9bd (patch)
treec6fd151551f43712d361de93dd8db4548623304b
parentde1985597c38b2c55817b3208fbc0801a9a8910a (diff)
downloaddotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.tar.gz
dotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.tar.xz
dotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.zip
semantic error fixed
-rw-r--r--bashrc/common/alias.sh2
1 files changed, 1 insertions, 1 deletions
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}"
}