diff --git a/zsh/.zprofile b/zsh/.zprofile index 9c27149..13aa138 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,3 +1,6 @@ +typeset -U path +path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) + if [[ -f "/opt/homebrew/bin/brew" ]]; then eval "$(/opt/homebrew/bin/brew shellenv)" FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}" diff --git a/zsh/.zshenv b/zsh/.zshenv index 9d61e1b..0a30954 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,6 +1,3 @@ -typeset -U path -path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) - export INFOPATH="$HOME/info:/opt/homebrew/share/info:" export LEDGER_FILE="$HOME/journal.ledger" diff --git a/zsh/.zshrc b/zsh/.zshrc index ede52b5..e0870bb 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,7 @@ # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH +typeset -U path +path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh"