From c41e14a302cc4e25a89a4cf0334adb376576f320 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Wed, 29 May 2024 13:54:32 -0400 Subject: [PATCH] Terraform aliases --- aliases/key_aliases.tmpl | 12 ++++++++++-- aliases/key_dirs.tmpl | 5 ++++- aliases/key_files.tmpl | 1 + dot_config/fish/config.fish.tmpl | 2 ++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/aliases/key_aliases.tmpl b/aliases/key_aliases.tmpl index 3f22fa3..42a3c95 100644 --- a/aliases/key_aliases.tmpl +++ b/aliases/key_aliases.tmpl @@ -6,7 +6,7 @@ # clear screen c "printf '\033c'" -d "cd ~/Downloads && printf '\033c'" +dn "cd ~/Downloads && printf '\033c'" # e "echo \$" hst "history" # nft "printf '\033c' && neofetch | lolcat" @@ -190,7 +190,7 @@ rsy "rsync --ignore-existing -Ptr" lhd "sudo fdisk -l" # get disc space for mounted drives # ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null" -ds "df -h | head -n 1 && df -h | grep sd" +dsp "df -h | head -n 1 && df -h | grep sd" chownw "sudo chown -R kevin:wheel" chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}" # cd into backup folder and show backup sizes @@ -1128,6 +1128,14 @@ kt "kubectl status" # ]]] kubectl # +tf "terraform" +tfa "terraform apply" +tfds "terraform destroy" +tfi "terraform init" +tfo "terraform output" +tfp "terraform plan" +tfs "terraform show" + # jenkins [[[ # jk "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENKINS_TOKEN" diff --git a/aliases/key_dirs.tmpl b/aliases/key_dirs.tmpl index ff217fb..02861cb 100644 --- a/aliases/key_dirs.tmpl +++ b/aliases/key_dirs.tmpl @@ -45,14 +45,16 @@ bm ~/Documents/bookmarks ccd ~/.calcurse cms ~/Documents/codm/site cn ~/coding +# dn ~/Downloads drk ~/coding/dark-sky ffx ~/linux-config/dot_config/fish/functions hbd ~/.habitctl ib ~/linux-config/dot_config/i3blocks/scripts mbd ~/coding/minikube pig ~/coding/pigallery +mbk ~/coding/minikube-kompose ms ~/coding/mf-site -msp ~/coding/mf-site/static/pdf +msr ~/coding/mf-site/static/pdf pr ~/coding/pull-requests ra ~/linux-config/dot_config/ranger rd ~/Documents/red-discord-bot @@ -62,6 +64,7 @@ rdp ~/coding/discord-bots/pinky/cogs/CogManager/cogs/adventure sr ~/linux-config/scripts vsnps ~/.vim/plugged/vim-snippets/UltiSnips sw ~/.local/share/nvim/swap/ +tfd ~/coding/terraform ttd ~/.timetrace ttdr ~/.timetrace/records tx ~/linux-config/txt diff --git a/aliases/key_files.tmpl b/aliases/key_files.tmpl index c2c5056..fd76f11 100644 --- a/aliases/key_files.tmpl +++ b/aliases/key_files.tmpl @@ -51,6 +51,7 @@ k ~/linux-config/dot_config/kitty/kitty.conf lh ~/Documents/listening-history/polarbier.csv mc ~/coding/mf-site/assets/sass/main.scss mi ~/coding/mf-site/ideas.md +msr ~/coding/mf-site/content/resume/_index.md ne ~/linux-config/configs/neofetch/config.conf re README.md rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index 3b7f946..78028b8 100755 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -138,6 +138,8 @@ set -x FULLNODE_API_INFO wss://api.chain.love set -x IPAD_IMG 18 +source /home/kevin/coding/aws.fish + # ]]] universal var's # # fish-specific [[[ #