rename update functions
This commit is contained in:
6
rc
6
rc
@@ -11,17 +11,17 @@ export PATH
|
||||
|
||||
. "$TOOLSPATH"/qcd_function
|
||||
[[ -f "$TOOLSPATH"/tsv/tsvkit.sh ]] && . "$TOOLSPATH"/tsv/tsvkit.sh &>/dev/null
|
||||
function _tools-reload {
|
||||
function _q-tools-reload {
|
||||
# reload self
|
||||
[[ -z "$TOOLSPATH" ]] && return
|
||||
source "$TOOLSPATH"/rc
|
||||
}
|
||||
function _tools-update {
|
||||
function _q-tools-update {
|
||||
# update self
|
||||
[[ -z "$TOOLSPATH" ]] && return
|
||||
[[ -w "$TOOLSPATH" ]] || return
|
||||
"$TOOLSPATH"/rc -u
|
||||
_tools-reload
|
||||
_q-tools-reload
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user