File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ if [ "$SHELLNAME" = "bash" ]; then
128
128
eval " mkdir -p $COMPLETIONS_PATH "
129
129
130
130
# calling the generate-completions subcommand to generate the completion script
131
- eval " $CMD generate-completions -- bash > $COMPLETIONS_PATH /tmc.bash"
131
+ eval " $CMD generate-completions bash > $COMPLETIONS_PATH /tmc.bash"
132
132
133
133
# adding the line to .bashrc so that bash knows where to look for
134
134
echo " source $COMPLETIONS_PATH /tmc.bash" >> " $PROFILEFILE "
@@ -143,7 +143,7 @@ elif [ "$SHELLNAME" = "zsh" ]; then
143
143
sed -i ' /fpath/!b;/tmc-autocomplete/d' " $PROFILEFILE "
144
144
145
145
eval " mkdir -p $COMPLETIONS_PATH "
146
- eval " $CMD generate-completions -- bash > $COMPLETIONS_PATH /_tmc"
146
+ eval " $CMD generate-completions bash > $COMPLETIONS_PATH /_tmc"
147
147
148
148
echo " fpath=($COMPLETIONS_PATH /_tmc " ' $fpath)' >> " $PROFILEFILE "
149
149
You can’t perform that action at this time.
0 commit comments