Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame^] | 1 | # bash completion for uefi-build.sh |
| 2 | # copy this file to /etc/bash_completion.d/uefi-build.s |
| 3 | |
| 4 | have uefi-build.sh && |
| 5 | _uefi-build.sh() |
| 6 | { |
| 7 | local cur prev |
| 8 | |
| 9 | COMPREPLY=() |
| 10 | _get_comp_words_by_ref -n = cur |
| 11 | |
| 12 | _expand || return 0 |
| 13 | |
| 14 | COMPREPLY=( $( compgen -W '--help -b --build RELEASE DEBUG a5 a9 tc1 tc2 panda origen arndale rtsm_a9x4 rtsm_a15x1 rtsm_a15mpcore rtsm_aarch64 beagle all' -- "$cur" ) ) |
| 15 | } && |
| 16 | complete -F _uefi-build.sh uefi-build.sh |
| 17 | |
| 18 | # Local variables: |
| 19 | # mode: shell-script |
| 20 | # sh-basic-offset: 4 |
| 21 | # sh-indent-comment: t |
| 22 | # indent-tabs-mode: nil |
| 23 | # End: |
| 24 | # ex: ts=4 sw=4 et filetype=sh |