Skip to content

Commit 7656fa1

Browse files
committed
nerdctl: install bash completion
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 25951d9 commit 7656fa1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ command -v systemctl >/dev/null 2>&1 || exit 0
1010

1111
if [ ! -x /usr/local/bin/nerdctl ]; then
1212
tar Cxzf /usr/local "${LIMA_CIDATA_MNT}"/nerdctl-full.tgz
13+
14+
mkdir -p /etc/bash_completion.d
15+
nerdctl completion bash >/etc/bash_completion.d/nerdctl
16+
# TODO: enable zsh completion too
1317
fi
1418

1519
if [ "${LIMA_CIDATA_CONTAINERD_SYSTEM}" = 1 ]; then

0 commit comments

Comments
 (0)