Sha256: 7d407f88dbf295b412a9e7a6bc470822fa3e7378981c07f995cbed45c007074f

Contents?: true

Size: 524 Bytes

Versions: 21

Compression:

Stored size: 524 Bytes

Contents

#!/usr/bin/env bash

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

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

which krates > /dev/null && complete -F _krates_complete krates

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
krates-1.7.11 lib/kontena/scripts/init
krates-1.7.10 lib/kontena/scripts/init
krates-1.7.9 lib/kontena/scripts/init
krates-1.7.8 lib/kontena/scripts/init
krates-1.7.7 lib/kontena/scripts/init
krates-1.7.6 lib/kontena/scripts/init
krates-1.7.5 lib/kontena/scripts/init
krates-1.7.4 lib/kontena/scripts/init
krates-1.7.3 lib/kontena/scripts/init
krates-1.7.2 lib/kontena/scripts/init
krates-1.7.1 lib/kontena/scripts/init
krates-1.7.0 lib/kontena/scripts/init
krates-1.6.9 lib/kontena/scripts/init
krates-1.6.8 lib/kontena/scripts/init
krates-1.6.7 lib/kontena/scripts/init
krates-1.6.6 lib/kontena/scripts/init
krates-1.6.5 lib/kontena/scripts/init
krates-1.6.4 lib/kontena/scripts/init
krates-1.6.3 lib/kontena/scripts/init
krates-1.6.2 lib/kontena/scripts/init