Mon, 22 Apr 2019 12:54:31 +0200
add func for creating the content of crypto-prop properties
crypto-prop is a proposed property for storing encrypted properties
create_crypto_prop() is used to create a base64 encoded, encrypted xml document, containing properties
dav_completion() { local davcmd local out local cmd_res davcmd="${COMP_WORDS[0]} complete $COMP_CWORD ${COMP_WORDS[@]}" out=$(eval $davcmd) 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