1
0
Fork 0

zsh: clean up aliases

This commit is contained in:
Luca Bilke 2024-10-21 09:00:35 +02:00
parent 0fe2468791
commit 5c85898837
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 12 additions and 12 deletions

View File

@ -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 $@
}