summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2025-08-08 22:36:49 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commitc288fb0cfa13608a2d702f6dc86109d79399983b (patch)
tree490e33b0dca91c1c9d0f1460491d6bab013acff7
parenta2a8a95449aab43c98839adac82114e2e2fd660c (diff)
fix(zsh) fix errors for macos
-rw-r--r--dot_zshenv1
-rw-r--r--dot_zshrc.tmpl13
2 files changed, 8 insertions, 6 deletions
diff --git a/dot_zshenv b/dot_zshenv
index 644ef82..40db571 100644
--- a/dot_zshenv
+++ b/dot_zshenv
@@ -1,3 +1,2 @@
export EDITOR=nvim
. "$HOME/.cargo/env"
-. "/home/ibrahim/.local/share/bob/env/env.sh"
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index cac6922..8d677a1 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -27,6 +27,14 @@ export PATH="$PATH:$HOME/.local/bin"
# Add go binaries to $PATH
export PATH="$PATH:$HOME/go/bin"
+{{- if eq .chezmoi.os "darwin" }}
+# Add homebrew binaries to path
+export PATH=$PATH:/opt/homebrew/bin
+{{ end -}}
+
+# Add neovim from Bob to $PATH
+export PATH="$PATH:$HOME/.local/share/bob/nvim-bin"
+
# Basic auto/tab complete:
autoload -U compinit
zstyle ':completion:*' menu select
@@ -163,8 +171,3 @@ eval "$(starship init zsh)"
# Load zoxide
eval "$(zoxide init zsh)"
{{ end -}}
-
-{{- if eq .chezmoi.os "darwin" }}
-# Load zsh syntax highlighting
-source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-{{ end -}}