File tree Expand file tree Collapse file tree 12 files changed +0
-58
lines changed
Expand file tree Collapse file tree 12 files changed +0
-58
lines changed Original file line number Diff line number Diff line change 2727 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
2828 local compline=" ${compwords[*]} "
2929
30- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
31- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
32-
3330% if ENV[' COMPLETELY_DEBUG' ]
3431 if [[ -n " $COMPLETELY_DEBUG " ]]; then
3532 echo " compline: '$compline '" > ' completely-debug.txt'
4643
4744% end
4845 esac
49-
50- COMP_WORDBREAKS=" $original_comp_wordbreaks "
5146} &&
5247 complete -F <%= function_name %> <%= command %>
5348
Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ _mygit_completions() {
2727 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
2828 local compline=" ${compwords[*]} "
2929
30- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
31- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
32-
3330 case " $compline " in
3431 ' status' * )
3532 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -W " $( _mygit_completions_filter " --help --verbose --branch $( git branch 2> /dev/null) " ) " -- " $cur " )
@@ -48,8 +45,6 @@ _mygit_completions() {
4845 ;;
4946
5047 esac
51-
52- COMP_WORDBREAKS=" $original_comp_wordbreaks "
5348} &&
5449 complete -F _mygit_completions mygit
5550
Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ _mycomps() {
2727 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
2828 local compline=" ${compwords[*]} "
2929
30- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
31- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
32-
3330 case " $compline " in
3431 ' status' * )
3532 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -W " $( _mycomps_filter " --help --verbose --branch $( git branch 2> /dev/null) " ) " -- " $cur " )
@@ -48,8 +45,6 @@ _mycomps() {
4845 ;;
4946
5047 esac
51-
52- COMP_WORDBREAKS=" $original_comp_wordbreaks "
5348} &&
5449 complete -F _mycomps mygit
5550
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ give_comps() {
2828 echo $' local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}")'
2929 echo $' local compline="${compwords[*]}"'
3030 echo $' '
31- echo $' local original_comp_wordbreaks="$COMP_WORDBREAKS"'
32- echo $' COMP_WORDBREAKS="${COMP_WORDBREAKS//[:=]/}"'
33- echo $' '
3431 echo $' case "$compline" in'
3532 echo $' \' status\' *)'
3633 echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_mygit_completions_filter "--help --verbose --branch $(git branch 2>/dev/null)")" -- "$cur")'
@@ -49,8 +46,6 @@ give_comps() {
4946 echo $' ;;'
5047 echo $' '
5148 echo $' esac'
52- echo $' '
53- echo $' COMP_WORDBREAKS="$original_comp_wordbreaks"'
5449 echo $' } &&'
5550 echo $' complete -F _mygit_completions mygit'
5651 echo $' '
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ _mygit_completions() {
3535 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
3636 local compline=" ${compwords[*]} "
3737
38- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
39- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
40-
4138 case " $compline " in
4239 ' status' * )
4340 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -W " $( _mygit_completions_filter " --help --verbose --branch $( git branch 2> /dev/null) " ) " -- " $cur " )
@@ -56,8 +53,6 @@ _mygit_completions() {
5653 ;;
5754
5855 esac
59-
60- COMP_WORDBREAKS=" $original_comp_wordbreaks "
6156} &&
6257 complete -F _mygit_completions mygit
6358
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ _mygit_completions() {
3535 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
3636 local compline=" ${compwords[*]} "
3737
38- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
39- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
40-
4138 case " $compline " in
4239 ' status' * )
4340 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -W " $( _mygit_completions_filter " --help --verbose --branch $( git branch 2> /dev/null) " ) " -- " $cur " )
@@ -56,8 +53,6 @@ _mygit_completions() {
5653 ;;
5754
5855 esac
59-
60- COMP_WORDBREAKS=" $original_comp_wordbreaks "
6156} &&
6257 complete -F _mygit_completions mygit
6358
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ _mygit_completions() {
3535 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
3636 local compline=" ${compwords[*]} "
3737
38- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
39- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
40-
4138 case " $compline " in
4239 ' status' * )
4340 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -W " $( _mygit_completions_filter " --help --verbose --branch $( git branch 2> /dev/null) " ) " -- " $cur " )
@@ -56,8 +53,6 @@ _mygit_completions() {
5653 ;;
5754
5855 esac
59-
60- COMP_WORDBREAKS=" $original_comp_wordbreaks "
6156} &&
6257 complete -F _mygit_completions mygit
6358
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ send_completions() {
2828 echo $' local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}")'
2929 echo $' local compline="${compwords[*]}"'
3030 echo $' '
31- echo $' local original_comp_wordbreaks="$COMP_WORDBREAKS"'
32- echo $' COMP_WORDBREAKS="${COMP_WORDBREAKS//[:=]/}"'
33- echo $' '
3431 echo $' case "$compline" in'
3532 echo $' \' generate\' *)'
3633 echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -W "$(_completely_completions_filter "--help --force")" -- "$cur")'
@@ -45,8 +42,6 @@ send_completions() {
4542 echo $' ;;'
4643 echo $' '
4744 echo $' esac'
48- echo $' '
49- echo $' COMP_WORDBREAKS="$original_comp_wordbreaks"'
5045 echo $' } &&'
5146 echo $' complete -F _completely_completions completely'
5247 echo $' '
Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ _completely_completions() {
2727 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
2828 local compline=" ${compwords[*]} "
2929
30- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
31- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
32-
3330 case " $compline " in
3431 ' generate' * )
3532 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -A directory -W " $( _completely_completions_filter " --help --force" ) " -- " $cur " )
@@ -44,8 +41,6 @@ _completely_completions() {
4441 ;;
4542
4643 esac
47-
48- COMP_WORDBREAKS=" $original_comp_wordbreaks "
4944} &&
5045 complete -F _completely_completions completely
5146
Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ _completely_completions() {
2727 local compwords=(" ${COMP_WORDS[@]: 1: $COMP_CWORD -1} " )
2828 local compline=" ${compwords[*]} "
2929
30- local original_comp_wordbreaks=" $COMP_WORDBREAKS "
31- COMP_WORDBREAKS=" ${COMP_WORDBREAKS// [:=]/ } "
32-
3330 case " $compline " in
3431 ' generate' * )
3532 while read -r; do COMPREPLY+=(" $REPLY " ); done < <( compgen -A directory -W " $( _completely_completions_filter " --help --force" ) " -- " $cur " )
@@ -40,8 +37,6 @@ _completely_completions() {
4037 ;;
4138
4239 esac
43-
44- COMP_WORDBREAKS=" $original_comp_wordbreaks "
4540} &&
4641 complete -F _completely_completions completely
4742
You can’t perform that action at this time.
0 commit comments