diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2008-10-29 04:27:52 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2008-10-29 04:27:52 +0100 |
commit | 8eccef6e30791472e8fb4a87ed70a136d0cbc9bd (patch) | |
tree | c6fd151551f43712d361de93dd8db4548623304b | |
parent | de1985597c38b2c55817b3208fbc0801a9a8910a (diff) | |
download | dotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.tar.gz dotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.tar.xz dotfiles-8eccef6e30791472e8fb4a87ed70a136d0cbc9bd.zip |
semantic error fixed
-rw-r--r-- | bashrc/common/alias.sh | 2 |
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}" } |