ssh tunnelier to use qolop. further ansitable touchup

This commit is contained in:
ville rantanen
2017-08-20 16:03:55 +03:00
parent 101dbf2e19
commit 2da190e033
2 changed files with 21 additions and 18 deletions

View File

@@ -33,12 +33,14 @@ done
echo -e "# example:\n -L 8888:localhost:8888 servername" > "$CONF"
}
number_re='^[0-9]+$'
colZ="\033[0m"
colTitle="\033[0;1;32m"
colRow="\033[0;1m"
colMenu="\033[0;33m"
colWarn="\033[0;1;31m"
# import qolop
_qCol(){ true; } # incase qolop missing
. qolop &>/dev/null
colZ=$( _qCol z )
colTitle=$( _qCol z G )
colRow=$( _qCol z S )
colMenu=$( _qCol z y )
colWarn=$( _qCol z R )
function fpgrep() {
pgrep -x -u $UID "$@" | xargs --no-run-if-empty ps -o pid,bsdstart,args;