PHP 7.4.33
Preview: _awscli Size: 1.76 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/share/zsh/site-functions/_awscli

# Source this file to activate auto completion for zsh using the bash
# compatibility helper.  Make sure to run `compinit` before, which should be
# given usually.
#
# % source /path/to/zsh_complete.sh
#
# Typically that would be called somewhere in your .zshrc.
#
# Note, the overwrite of _bash_complete() is to export COMP_LINE and COMP_POINT
# That is only required for zsh <= edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570
#
# https://github.com/zsh-users/zsh/commit/edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570
#
# zsh relases prior to that version do not export the required env variables!

autoload -Uz bashcompinit
bashcompinit -i

_bash_complete() {
  local ret=1
  local -a suf matches
  local -x COMP_POINT COMP_CWORD
  local -a COMP_WORDS COMPREPLY BASH_VERSINFO
  local -x COMP_LINE="$words"
  local -A savejobstates savejobtexts

  (( COMP_POINT = 1 + ${#${(j. .)words[1,CURRENT]}} + $#QIPREFIX + $#IPREFIX + $#PREFIX ))
  (( COMP_CWORD = CURRENT - 1))
  COMP_WORDS=( $words )
  BASH_VERSINFO=( 2 05b 0 1 release )

  savejobstates=( ${(kv)jobstates} )
  savejobtexts=( ${(kv)jobtexts} )

  [[ ${argv[${argv[(I)nospace]:-0}-1]} = -o ]] && suf=( -S '' )

  matches=( ${(f)"$(compgen $@ -- ${words[CURRENT]})"} )

  if [[ -n $matches ]]; then
    if [[ ${argv[${argv[(I)filenames]:-0}-1]} = -o ]]; then
      compset -P '*/' && matches=( ${matches##*/} )
      compset -S '/*' && matches=( ${matches%%/*} )
      compadd -Q -f "${suf[@]}" -a matches && ret=0
    else
      compadd -Q "${suf[@]}" -a matches && ret=0
    fi
  fi

  if (( ret )); then
    if [[ ${argv[${argv[(I)default]:-0}-1]} = -o ]]; then
      _default "${suf[@]}" && ret=0
    elif [[ ${argv[${argv[(I)dirnames]:-0}-1]} = -o ]]; then
      _directories "${suf[@]}" && ret=0
    fi
  fi

  return ret
}

complete -C aws_completer aws

Directory Contents

Dirs: 0 × Files: 25

Name Size Perms Modified Actions
1.76 KB lrw-r--r-- 2020-10-08 18:05:10
Edit Download
1.08 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
2.99 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
1.54 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
13.02 KB lrw-r--r-- 2025-01-28 01:43:09
Edit Download
18.61 KB lrw-r--r-- 2025-03-11 09:51:09
Edit Download
2.22 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
5.83 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
651 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
3.50 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
5.67 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
116 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
355 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
289 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
255 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
15.24 KB lrw-r--r-- 2025-04-22 01:58:20
Edit Download
3.75 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
2.99 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
564 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
1.04 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
2.28 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
3.06 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
736 B lrw-r--r-- 2018-06-22 11:11:49
Edit Download
1.99 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download
5.86 KB lrw-r--r-- 2018-06-22 11:11:49
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).