Commit c42bae68 authored by André Anjos's avatar André Anjos

Merge branch 'autocomplete' into 'master'

Enables bob auto-completion for bash (closes #63)

Closes #63

See merge request !92
parents d60ee79d 5e786690
Pipeline #24285 passed with stages
in 5 minutes and 35 seconds
#!/usr/bin/env bash
_bob_completion() {
COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
_BOB_COMPLETE=complete $1 ) )
return 0
}
complete -F _bob_completion -o default bob;
#!/usr/bin/env bash
complete -r bob;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment