Sha256: f4fdab12ccddb41757bd3d4a20425e02314c374514ac07c0a9a9188e79cdb372

Contents?: true

Size: 530 Bytes

Versions: 70

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env bash

# This file exists mostly for backwards dependency to
# allow the old "which kontena && . foofoo/init"
# completion loading
_kontena_complete() {
  COMPREPLY=()
  local word="${COMP_WORDS[COMP_CWORD]}"
  local completions="$(kontena complete ${COMP_WORDS[*]})"
  COMPREPLY=( $(compgen -W "$completions" -- "$word") )
}

if [ "$ZSH_VERSION" != "" ]; then
  autoload -U +X compinit && compinit
  autoload -U +X bashcompinit && bashcompinit
fi

which kontena > /dev/null && complete -F _kontena_complete kontena

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
krates-1.6.0 lib/kontena/scripts/init
kontena-cli-1.5.4 lib/kontena/scripts/init
kontena-cli-1.5.4.rc1 lib/kontena/scripts/init
kontena-cli-1.5.3 lib/kontena/scripts/init
kontena-cli-1.5.2 lib/kontena/scripts/init
kontena-cli-1.5.1 lib/kontena/scripts/init
kontena-cli-1.5.0 lib/kontena/scripts/init
kontena-cli-1.5.0.rc1 lib/kontena/scripts/init
kontena-cli-1.5.0.pre5 lib/kontena/scripts/init
kontena-cli-1.5.0.pre4 lib/kontena/scripts/init
kontena-cli-1.5.0.pre3 lib/kontena/scripts/init
kontena-cli-1.5.0.pre2 lib/kontena/scripts/init
kontena-cli-1.5.0.pre1 lib/kontena/scripts/init
kontena-cli-1.4.3 lib/kontena/scripts/init
kontena-cli-1.4.3.rc1 lib/kontena/scripts/init
kontena-cli-1.4.2 lib/kontena/scripts/init
kontena-cli-1.4.2.rc1 lib/kontena/scripts/init
kontena-cli-1.4.2.pre1 lib/kontena/scripts/init
kontena-cli-1.4.1 lib/kontena/scripts/init
kontena-cli-1.4.1.rc1 lib/kontena/scripts/init