Set $PATH in the correct dotfiles

This commit is contained in:
Jeremy Dormitzer 2022-07-29 11:54:36 -04:00
parent e0e5ffb6a1
commit bdb93f86b5
3 changed files with 5 additions and 3 deletions

View File

@ -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}"

View File

@ -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"

View File

@ -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"