Use my fork of zsh-syntax-highlighting

This commit is contained in:
2026-01-14 13:53:57 +00:00
parent 50e6a381a3
commit eab312db23

View File

@@ -17,10 +17,10 @@ for directory in $directories; do
done
plugins=(
kbenzie/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-history-substring-search
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-completions
zsh-users/zsh-history-substring-search
)
for plugin in $plugins; do
@@ -30,6 +30,10 @@ for plugin in $plugins; do
if ! git -C $plugin_directory diff-index --quiet HEAD --; then
error $plugin_directory contains unstaged changes
fi
existing_url=`git -C $plugin_directory config --get remote.origin.url`
if [ "$existing_url" != "https://github.com/$plugin.git" ]; then
git -C $plugin_directory config remote.origin.url https://github.com/$plugin.git
fi
pull=`git -C $plugin_directory pull`
if [ "$pull" != "Already up to date." ] && \
[ "$pull" != "Already up-to-date." ]; then