Thu, 19 Jul 2018 17:11:14 +0200
Added tag v1.2.1 for changeset d6dea8c17f68
dav_completion() { local davcmd local out local cmd_res davcmd="${COMP_WORDS[0]}" out=$( $davcmd complete $COMP_CWORD "${COMP_WORDS[@]}" ) cmd_res=$? if [ $cmd_res == 10 ]; then compopt -o nospace fi if [ $cmd_res == 12 ]; then compopt -o default COMPREPLY=() else IFS=$'\n' declare -ga 'COMPREPLY=($out)' fi } complete -F dav_completion dav