Skip to content

Commit e9c15f1

Browse files
committed
feat: add shell completions for molecule
Signed-off-by: Sebastian Yaghoubi <[email protected]>
1 parent 8104b9e commit e9c15f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

final/setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ activate-global-python-argcomplete
116116
# Install oh-my-zsh
117117
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
118118

119+
# Add completions to zsh
120+
echo eval \"\$\(_MOLECULE_COMPLETE=zsh_source molecule\)\" > ~/.oh-my-zsh/custom/molecule-completions.zsh
121+
119122
# shellcheck disable=SC1091
120123
source "$DIR/setup-image.sh"
121124

0 commit comments

Comments
 (0)