Skip to content

Commit 9913b95

Browse files
ne-sachirouingydotnet
authored andcommitted
The fpath variable is an array; expand correctly
Was causing zsh usage to fail.
1 parent 65fde50 commit 9913b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/enable-completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ elif [[ ${ZSH_VERSION-} ]]; then
4646
# Prepend to `fpath` the path of the directory containing our zsh
4747
# completion script, so that our completion script will be hooked into the
4848
# zsh completion system.
49-
fpath=("$GIT_SUBREPO_ROOT/share/zsh-completion" "$fpath")
49+
fpath=("$GIT_SUBREPO_ROOT/share/zsh-completion" "${fpath[@]}")
5050
fi

0 commit comments

Comments
 (0)