zsh: clean up aliases
This commit is contained in:
parent
0fe2468791
commit
5c85898837
|
@ -11,13 +11,13 @@ alias vault_login_tralios='
|
|||
-token-only \
|
||||
-method=userpass \
|
||||
username=luca |
|
||||
tee ${HOME}/Documents/dev/tralios/ansible/classes/.tralios-vault-token
|
||||
tee ${HOME}/Documents/dev/tralios/ansible/.tralios-vault-token
|
||||
'
|
||||
alias vault_tralios='
|
||||
export VAULT_ADDR=https://vault.tralios.de &&
|
||||
export VAULT_TOKEN=$(cat ${HOME}/Documents/dev/tralios/ansible/.tralios-vault-token) &&
|
||||
vault \
|
||||
'
|
||||
function vault_tralios {
|
||||
export VAULT_ADDR=https://vault.tralios.de
|
||||
export VAULT_TOKEN=$(cat ${HOME}/Documents/dev/tralios/ansible/classes/.tralios-vault-token)
|
||||
vault
|
||||
}
|
||||
|
||||
alias vault_login_schneiderfilz='
|
||||
VAULT_ADDR=https://vault.schneiderfilz.com \
|
||||
|
@ -26,10 +26,10 @@ alias vault_login_schneiderfilz='
|
|||
-token-only \
|
||||
-method=userpass \
|
||||
username=luca |
|
||||
tee ${HOME}/Documents/dev/schneiderfilz/sf-ansible/classes/.schneiderfilz-vault-token
|
||||
tee ${HOME}/Documents/dev/schneiderfilz/sf-ansible/.schneiderfilz-vault-token
|
||||
'
|
||||
alias vault_schneiderfilz='
|
||||
export VAULT_ADDR=https://vault.schneiderfilz.com &&
|
||||
export VAULT_TOKEN=$(cat ${HOME}/Documents/dev/schneiderfilz/sf-ansible/.schneiderfilz-vault-token) &&
|
||||
vault \
|
||||
'
|
||||
function vault_schneiderfilz {
|
||||
export VAULT_ADDR=https://vault.schneiderfilz.com
|
||||
export VAULT_TOKEN=$(cat ${HOME}/Documents/dev/schneiderfilz/sf-ansible/classes/.schneiderfilz-vault-token)
|
||||
vault $@
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue