2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-25 14:50:24 +00:00

Add functions to stub out globbing

noderanges use [], and bash can do undesirable things.
Since these commands by and large do not reference files,
or at least files likely to be globbed, disable globbing.
This commit is contained in:
Jarrod Johnson 2017-06-22 15:42:30 -04:00
parent bc1b1a9676
commit 1526a9b92d

View File

@ -2,3 +2,19 @@ PATH=/opt/confluent/bin:$PATH
export PATH
MANPATH=/opt/confluent/share/man:$MANPATH
export MANPATH
alias confetty='set -f;confetty';confetty(){ command confetty ; set +f;}
alias nodeattrib='set -f;nodeattrib';nodeattrib(){ command nodeattrib ; set +f;}
alias nodeboot='set -f;nodeboot';nodeboot(){ command nodeboot ; set +f;}
alias nodeconsole='set -f;nodeconsole';nodeconsole(){ command nodeconsole ; set +f;}
alias nodeeventlog='set -f;nodeeventlog';nodeeventlog(){ command nodeeventlog ; set +f;}
alias nodefirmware='set -f;nodefirmware';nodefirmware(){ command nodefirmware ; set +f;}
alias nodegroupattrib='set -f;nodegroupattrib';nodegroupattrib(){ command nodegroupattrib ; set +f;}
alias nodehealth='set -f;nodehealth';nodehealth(){ command nodehealth ; set +f;}
alias nodeidentify='set -f;nodeidentify';nodeidentify(){ command nodeidentify ; set +f;}
alias nodeinventory='set -f;nodeinventory';nodeinventory(){ command nodeinventory ; set +f;}
alias nodelist='set -f;nodelist';nodelist(){ command nodelist ; set +f;}
alias nodepower='set -f;nodepower';nodepower(){ command nodepower ; set +f;}
alias noderun='set -f;noderun';noderun(){ command noderun ; set +f;}
alias nodesensors='set -f;nodesensors';nodesensors(){ command nodesensors ; set +f;}
alias nodesetboot='set -f;nodesetboot';nodesetboot(){ command nodesetboot ; set +f;}
alias nodeshell='set -f;nodeshell';nodeshell(){ command nodeshell ; set +f;}