Skip to content

Commit 63a23e8

Browse files
committed
Fix installer script args
1 parent c38b108 commit 63a23e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if [ "$SHELLNAME" = "bash" ]; then
128128
eval "mkdir -p $COMPLETIONS_PATH"
129129

130130
# 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"
132132

133133
# adding the line to .bashrc so that bash knows where to look for
134134
echo "source $COMPLETIONS_PATH/tmc.bash" >> "$PROFILEFILE"
@@ -143,7 +143,7 @@ elif [ "$SHELLNAME" = "zsh" ]; then
143143
sed -i '/fpath/!b;/tmc-autocomplete/d' "$PROFILEFILE"
144144

145145
eval "mkdir -p $COMPLETIONS_PATH"
146-
eval "$CMD generate-completions --bash > $COMPLETIONS_PATH/_tmc"
146+
eval "$CMD generate-completions bash > $COMPLETIONS_PATH/_tmc"
147147

148148
echo "fpath=($COMPLETIONS_PATH/_tmc " '$fpath)' >> "$PROFILEFILE"
149149

0 commit comments

Comments
 (0)