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