prefix for every work aliases, sort
This commit is contained in:
parent
396a91fa7a
commit
8414b77fc5
1 changed files with 6 additions and 6 deletions
|
|
@ -3,12 +3,12 @@ export INFRA=/home/hybris/dev/bearstech/bearstech/infra
|
||||||
export PATH=$INFRA/bin:$INFRA/../xen:$PATH
|
export PATH=$INFRA/bin:$INFRA/../xen:$PATH
|
||||||
|
|
||||||
# Everyday aliases
|
# Everyday aliases
|
||||||
bthost() {cat $INFRA/host/$1}
|
bt-alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"}
|
||||||
bteach() {$INFRA/bin/foreach $@}
|
bt-dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}}
|
||||||
dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}}
|
bt-each() {$INFRA/bin/foreach $@}
|
||||||
alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"}
|
bt-host() {cat $INFRA/host/$1}
|
||||||
tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"}
|
bt-tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"}
|
||||||
vpn-bear() {for i in $(nmcli con | grep vpn | grep -v -- -- | cut -d' ' -f1); do nmcli con down $i; done; nmcli con up bearstech}
|
bt-vpn() {for i in $(nmcli con | grep vpn | grep -v -- -- | cut -d' ' -f1); do nmcli con down $i; done; nmcli con up bearstech}
|
||||||
|
|
||||||
# Google Cloud
|
# Google Cloud
|
||||||
# The next line updates PATH for the Google Cloud SDK.
|
# The next line updates PATH for the Google Cloud SDK.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue