[Bash-completion-devel] RFC: Turn on -o filenames in _filedir() if compopt is available

Freddy Vulto fvulto at gmail.com
Mon Nov 30 20:09:55 UTC 2009


On 091128 20:53, Ville Skyttä wrote:
>      COMPREPLY=( "${COMPREPLY[@]}" "${toks[@]}" )
> +    [ ${#COMPREPLY[@]} -ne 0 ] && type compopt &>/dev/null && \
> +        compopt -o filenames
>  } # _filedir()

+1



More information about the Bash-completion-devel mailing list