From 1ab069ca5149cc4d6261446a763656317dbdf74e Mon Sep 17 00:00:00 2001 From: Sebastian Yaghoubi Date: Sun, 29 Dec 2024 17:36:22 -0800 Subject: [PATCH] feat: add shell completions for molecule Signed-off-by: Sebastian Yaghoubi --- final/setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/final/setup.sh b/final/setup.sh index a1948e5..78b25f3 100755 --- a/final/setup.sh +++ b/final/setup.sh @@ -116,6 +116,9 @@ activate-global-python-argcomplete # Install oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +# Add completions to zsh +echo eval \"\$\(_MOLECULE_COMPLETE=zsh_source molecule\)\" > ~/.oh-my-zsh/custom/molecule-completions.zsh + # shellcheck disable=SC1091 source "$DIR/setup-image.sh"