From 8c7173c7f757f92a878a1476c3513e74583ef0ae Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 8 Feb 2024 04:09:31 +0100 Subject: [PATCH] update aliases --- .alias | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.alias b/.alias index ac42e83..ff337d0 100644 --- a/.alias +++ b/.alias @@ -1,6 +1,5 @@ export GPG_TTY=$(tty) -alias occ='docker exec -it --user www-data nextcloud_app php occ' alias m='mtr --displaymode 1 -z' alias n='nmap -A -T4' alias nn='nmap -Pn --reason --packet-trace -T5' @@ -9,6 +8,9 @@ alias wanip='curl -sL4 ip.hetzner.com && curl -sL6 ip.hetzner.com' alias ls='ls -lAh --color=auto' alias s='ssh' alias so='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root' +alias k='kubectl' + +alias occ='docker exec -it --user www-data nextcloud_app php occ' alias mci='docker exec -i mc rcon-cli' alias mc='docker exec mc rcon-cli' @@ -18,6 +20,7 @@ alias ad='ansible-vault decrypt --vault-pass-file .ansiblepass' alias ae='ansible-vault encrypt --vault-pass-file .ansiblepass' alias a='ansible --vault-pass-file .ansiblepass' alias ap='ansible-playbook --vault-pass-file .ansiblepass' +alias ansible-folders='mkdir -p {tasks,handlers,templates,files,vars,meta} && touch {tasks,handlers,templates,files,vars,meta}/.gitkeep' if [[ $SHELL == "/bin/bash" ]]; then PS1="\[\033[01;31m\]\u\[\033[01;33m@\033[01;36m\]\h\[\033[01;33m \w\]\[\033[01;32m\]\n> \[\033[00m\]"