Skip to content

Commit

Permalink
add shrc files
Browse files Browse the repository at this point in the history
  • Loading branch information
anlutro committed Apr 9, 2024
1 parent e10562d commit 7c4e62a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configs/shell/shrc.d/kubernetes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

function kubectx {
kubectl config set-context $(kubectl config get-contexts --output=name | fzf)
}
10 changes: 10 additions & 0 deletions configs/shell/shrc.d/terraform.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

function tffmt() {
if [ $# -eq 0 ]; then
terraform fmt -recursive
else
terraform fmt "$@"
fi
}

0 comments on commit 7c4e62a

Please sign in to comment.