equal
deleted
inserted
replaced
11 # GNU General Public License for more details. |
11 # GNU General Public License for more details. |
12 # |
12 # |
13 # You should have received a copy of the GNU General Public License |
13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 |
15 |
16 _relpipe_in_qr_completion() { |
16 _relpipe_in_barcode_completion() { |
17 local w0 w1 w2 w3 |
17 local w0 w1 w2 w3 |
18 |
18 |
19 COMPREPLY=() |
19 COMPREPLY=() |
20 w0=${COMP_WORDS[COMP_CWORD]} |
20 w0=${COMP_WORDS[COMP_CWORD]} |
21 w1=${COMP_WORDS[COMP_CWORD-1]} |
21 w1=${COMP_WORDS[COMP_CWORD-1]} |
34 ) |
34 ) |
35 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
35 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
36 fi |
36 fi |
37 } |
37 } |
38 |
38 |
39 complete -F _relpipe_in_qr_completion relpipe-in-qr |
39 complete -F _relpipe_in_barcode_completion relpipe-in-barcode |