aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules2
-rw-r--r--runcoms/zshrc10
2 files changed, 8 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
index 30b6eeb..4a8e029 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "zsh/modules/vendor/zsh-syntax-highlighting"]
path = zsh/modules/vendor/zsh-syntax-highlighting
- url = git@github.com:zsh-users/zsh-syntax-highlighting.git
+ url = https://github.com/zsh-users/zsh-syntax-highlighting.git
diff --git a/runcoms/zshrc b/runcoms/zshrc
index 8df1b05..3b61e08 100644
--- a/runcoms/zshrc
+++ b/runcoms/zshrc
@@ -82,10 +82,14 @@ fi
if [[ -s "/opt/homebrew/bin/brew" ]]; then
. /opt/homebrew/etc/profile.d/z.sh
else
- if [[ -s "/usr/share/z/z.sh" ]]; then
- . /usr/share/z/z.sh
+ if [[ -s "/usr/libexec/z.sh" ]]; then
+ . /usr/libexec/z.sh
else
- . /usr/local/etc/profile.d/z.sh
+ if [[ -s "/usr/share/z/z.sh" ]]; then
+ . /usr/share/z/z.sh
+ else
+ . /usr/local/etc/profile.d/z.sh
+ fi
fi
fi