From c288fb0cfa13608a2d702f6dc86109d79399983b Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Fri, 8 Aug 2025 22:36:49 -0500 Subject: fix(zsh) fix errors for macos --- dot_zshenv | 1 - dot_zshrc.tmpl | 13 ++++++++----- 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 -}} -- cgit v1.2.3