File: bash-completion

package info (click to toggle)
nala 0.16.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,560 kB
  • sloc: python: 6,636; sh: 62; makefile: 38
file content (10 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
_nala_completion() {
    local IFS=$'
'
    COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   _NALA_COMPLETE=complete_bash $1 ) )
    return 0
}

complete -o default -F _nala_completion nala