Browse Source

Terraform aliases

single-screen
Kevin Mok 5 months ago
parent
commit
c41e14a302
No known key found for this signature in database GPG Key ID: 6DEED612B26C08E2
  1. 12
      aliases/key_aliases.tmpl
  2. 5
      aliases/key_dirs.tmpl
  3. 1
      aliases/key_files.tmpl
  4. 2
      dot_config/fish/config.fish.tmpl

12
aliases/key_aliases.tmpl

@ -6,7 +6,7 @@
# clear screen # clear screen
c "printf '\033c'" c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
dn "cd ~/Downloads && printf '\033c'"
# e "echo \$" # e "echo \$"
hst "history" hst "history"
# nft "printf '\033c' && neofetch | lolcat" # nft "printf '\033c' && neofetch | lolcat"
@ -190,7 +190,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l" lhd "sudo fdisk -l"
# get disc space for mounted drives # get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null" # 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" chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}" chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes # cd into backup folder and show backup sizes
@ -1128,6 +1128,14 @@ kt "kubectl status"
# ]]] kubectl # # ]]] kubectl #
tf "terraform"
tfa "terraform apply"
tfds "terraform destroy"
tfi "terraform init"
tfo "terraform output"
tfp "terraform plan"
tfs "terraform show"
# jenkins [[[ # # jenkins [[[ #
jk "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENKINS_TOKEN" jk "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENKINS_TOKEN"

5
aliases/key_dirs.tmpl

@ -45,14 +45,16 @@ bm ~/Documents/bookmarks
ccd ~/.calcurse ccd ~/.calcurse
cms ~/Documents/codm/site cms ~/Documents/codm/site
cn ~/coding cn ~/coding
# dn ~/Downloads
drk ~/coding/dark-sky drk ~/coding/dark-sky
ffx ~/linux-config/dot_config/fish/functions ffx ~/linux-config/dot_config/fish/functions
hbd ~/.habitctl hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts ib ~/linux-config/dot_config/i3blocks/scripts
mbd ~/coding/minikube mbd ~/coding/minikube
pig ~/coding/pigallery pig ~/coding/pigallery
mbk ~/coding/minikube-kompose
ms ~/coding/mf-site ms ~/coding/mf-site
msp ~/coding/mf-site/static/pdf
msr ~/coding/mf-site/static/pdf
pr ~/coding/pull-requests pr ~/coding/pull-requests
ra ~/linux-config/dot_config/ranger ra ~/linux-config/dot_config/ranger
rd ~/Documents/red-discord-bot rd ~/Documents/red-discord-bot
@ -62,6 +64,7 @@ rdp ~/coding/discord-bots/pinky/cogs/CogManager/cogs/adventure
sr ~/linux-config/scripts sr ~/linux-config/scripts
vsnps ~/.vim/plugged/vim-snippets/UltiSnips vsnps ~/.vim/plugged/vim-snippets/UltiSnips
sw ~/.local/share/nvim/swap/ sw ~/.local/share/nvim/swap/
tfd ~/coding/terraform
ttd ~/.timetrace ttd ~/.timetrace
ttdr ~/.timetrace/records ttdr ~/.timetrace/records
tx ~/linux-config/txt tx ~/linux-config/txt

1
aliases/key_files.tmpl

@ -51,6 +51,7 @@ k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss mc ~/coding/mf-site/assets/sass/main.scss
mi ~/coding/mf-site/ideas.md mi ~/coding/mf-site/ideas.md
msr ~/coding/mf-site/content/resume/_index.md
ne ~/linux-config/configs/neofetch/config.conf ne ~/linux-config/configs/neofetch/config.conf
re README.md re README.md
rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py

2
dot_config/fish/config.fish.tmpl

@ -138,6 +138,8 @@ set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 18 set -x IPAD_IMG 18
source /home/kevin/coding/aws.fish
# ]]] universal var's # # ]]] universal var's #
# fish-specific [[[ # # fish-specific [[[ #

Loading…
Cancel
Save