1 # rmaxima(1) completion -*- shell-script -*-
5 local cur prev words cword split
6 _init_completion -s || return
9 --help|-h|--version|-v)
30 --enable-lisp-debugger|-g)
38 _filedir '@(mac|wxm|lisp)'
87 if [[ "$cur" == -* ]]; then
88 local opts="$( _parse_help "$1" )"
89 [[ $opts ]] || opts="$( _parse_usage "$1" )"
90 COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) )
91 [[ $COMPREPLY == *= ]] && compopt -o nospace
95 } && complete -F _rmaxima rmaxima