Update zsh config to be more minimal

- config is more centrilize in zshrc
- it doesn't depend on oh-my-zsh
This commit is contained in:
Alexander Navarro 2024-02-20 13:18:05 -03:00
parent 3b99ffe395
commit 5dcbc3a0b2
8 changed files with 123 additions and 180 deletions

View file

@ -15,6 +15,7 @@ export MOZ_ENABLE_WAYLAND=1
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
export PNPM_HOME="$HOME/.local/share/pnpm"
. "$HOME/.cargo/env"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
@ -33,7 +34,6 @@ update_path "$PNPM_HOME"
update_path "$HOME/.local/share/rtx/shims"
update_path "$HOME/.spicetify"
. "$HOME/.cargo/env"
if [[ $OSTYPE =~ 'darwin' ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"