Update to latest zshrc

This commit is contained in:
2024-10-12 14:37:15 -05:00
parent e4ffa5b2cf
commit c14f08dc1e

View File

@@ -77,7 +77,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git yarn sudo zoxide nvm bun node npm zsh-autosuggestions brew F-Sy-H)
plugins=(git yarn golang sudo zoxide nvm bun node npm zsh-autosuggestions brew F-Sy-H)
source $ZSH/oh-my-zsh.sh
@@ -141,6 +141,32 @@ if [ -d $HOME/.jenv/bin ]; then
fi
fi
# go tools
export PATH="$HOME/go/bin/:$PATH"
# pnpm
export PNPM_HOME="/home/xevion/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
source $(brew --prefix)/share/zsh/site-functions/_todoist_peco
PATH="/home/xevion/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/xevion/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/xevion/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/xevion/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/xevion/perl5"; export PERL_MM_OPT;
# Hishtory Config:
export PATH="$PATH:/home/xevion/.hishtory"
source /home/xevion/.hishtory/config.zsh
# use personal hishtory server
export HISHTORY_SERVER=https://hsh.***REMOVED***
# xset s off && xset -dpms
export PATH=$PATH:/home/xevion/.spicetify