From dd2ffd0b60b63cf5606da58d9e188175cf847286 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 14 Jun 2023 23:22:31 +0200 Subject: Add podman completion script generation --- .bash_profile | 7 +++++++ Brewfile | 6 +++--- 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" -- cgit v1.2.3