dotfiles/zsh/func/init-path
Eryn Wells 2d43ef9a1e [zsh] Replace implementation of init_path with update-path call
Rename this function with hyphens instead of underscores.
2024-09-23 14:44:26 -07:00

26 lines
527 B
Text

# Eryn Wells <eryn@erynwells.me>
autoload -Uz update-path
function init-path
{
update-path \
"$HOME/bin" \
"$HOME/.local/bin" \
"$HOME/.cargo/bin" \
"$HOME/.ghcup/bin" \
"$HOME/.gem/ruby/2.2.0/bin" \
"$HOME/.vim/bundle/vim-tidal/bin" \
/opt/local/bin \
/usr/X11/bin \
/opt/brew/bin \
/opt/homebrew/bin \
/usr/local/bin \
/usr/bin \
/bin \
/usr/local/sbin \
/usr/sbin \
/sbin
}
init-path "$@"