summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-06-14 23:22:31 +0200
committerAhmed Abdelhalim <[email protected]>2023-06-14 23:22:31 +0200
commitdd2ffd0b60b63cf5606da58d9e188175cf847286 (patch)
treecdaf3dafe26a30947e8664263e88353410fa9afe
parent84f4e11d36d08b790e6f93764ecd61b5507fe9cc (diff)
Add podman completion script generation
-rw-r--r--.bash_profile7
-rw-r--r--Brewfile6
2 files changed, 10 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 139ec6a..e3e2058 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -115,6 +115,13 @@ if command -v helm 1>/dev/null 2>&1; then
fi
fi
+# ==== Generate podman completion script when it's not there
+if command -v podman 1>/dev/null 2>&1; then
+ if [ ! -f $(brew --prefix)/etc/bash_completion.d/podman ]; then
+ podman completion bash > $(brew --prefix)/etc/bash_completion.d/podman
+ fi
+fi
+
# ==== k8s/ktx/kns completeion
if command -v kubectl 1>/dev/null 2>&1; then
alias k='kubectl'
diff --git a/Brewfile b/Brewfile
index f4f22d0..8238de5 100644
--- a/Brewfile
+++ b/Brewfile
@@ -67,9 +67,9 @@ cask "amethyst"
cask "obsidian"
### Work
-tap "homebrew/cask-versions"
-brew "java11"
-brew "gradle@6"
+# tap "homebrew/cask-versions"
+# brew "java11"
+# brew "gradle@6"
# brew "jq"
# brew "kubectl"
# brew "helm"