checking variable wrong
This commit is contained in:
@@ -343,7 +343,7 @@ function foldermenu_prompt {
|
|||||||
|
|
||||||
function _tools-update {
|
function _tools-update {
|
||||||
# update self
|
# update self
|
||||||
[[ -z "$TOOLSPATH" ]] || return
|
[[ -z "$TOOLSPATH" ]] && return
|
||||||
[[ -w "$TOOLSPATH" ]] || return
|
[[ -w "$TOOLSPATH" ]] || return
|
||||||
"$TOOLSPATH"/rc -u
|
"$TOOLSPATH"/rc -u
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user