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_yamltable_completion() { |
16 _relpipe_in_cbortable_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]} |
101 ) |
101 ) |
102 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
102 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
103 fi |
103 fi |
104 } |
104 } |
105 |
105 |
106 complete -F _relpipe_in_yamltable_completion relpipe-in-yamltable |
106 complete -F _relpipe_in_cbortable_completion relpipe-in-cbortable |
107 complete -F _relpipe_in_yamltable_completion relpipe-in-jsontable |
|