Page MenuHomeSealhub

bash-completion
No OneTemporary

bash-completion

if [[ -n ${ZSH_VERSION-} ]]; then
autoload -U +X bashcompinit && bashcompinit
fi
_arc ()
{
CUR="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=()
OPTS=$(echo | arc shell-complete --current ${COMP_CWORD} -- ${COMP_WORDS[@]})
if [ $? -ne 0 ]; then
return $?
fi
if [ "$OPTS" = "FILE" ]; then
COMPREPLY=( $(compgen -f -- ${CUR}) )
return 0
fi
if [ "$OPTS" = "ARGUMENT" ]; then
return 0
fi
COMPREPLY=( $(compgen -W "${OPTS}" -- ${CUR}) )
}
complete -F _arc -o filenames arc

File Metadata

Mime Type
text/plain
Expires
Tue, Jul 8, 07:41 (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
800141
Default Alt Text
bash-completion (502 B)

Event Timeline