ENH: improve bash completion functionality (issue #551)
- use complete -o filenames, dropped -o nospace to make it more responsive. - restructure completion code to use a unified backend, which makes it easier understand, maintain and re-use. - foamCreateBashCompletions now simply outputs to a stdout, and allows quick generation of completion of single applications. - add -fileHandler completion in anticipation of future changes there. - relocated as etc/config.s/bash_completion to prevent inadvertently having two versions (.com, .org) installed at the same time.
Showing
- bin/tools/foamCreateBashCompletions 152 additions, 116 deletionsbin/tools/foamCreateBashCompletions
- etc/bashrc 1 addition, 1 deletionetc/bashrc
- etc/config.sh/bash_completion 2260 additions, 0 deletionsetc/config.sh/bash_completion
- etc/config.sh/bashcompletion 0 additions, 8546 deletionsetc/config.sh/bashcompletion
- etc/config.sh/unset 2 additions, 2 deletionsetc/config.sh/unset
Please register or sign in to comment