Browse Source

feat: update held zshrc

master
Ein Verne 4 weeks ago
parent
commit
c2ceb9603a
  1. 33
      .zshrc

33
.zshrc

@ -5,6 +5,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi fi
[[ "$TERM_PROGRAM" == "kiro" ]] && . "$(kiro --locate-shell-integration-path zsh)"
if [[ ! -f ~/.zinit/bin/zinit.zsh ]]; then if [[ ! -f ~/.zinit/bin/zinit.zsh ]]; then
mkdir ~/.zinit mkdir ~/.zinit
git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
@ -100,10 +102,35 @@ zinit ice depth=1; zinit light romkatv/powerlevel10k
# OS specific plugins # OS specific plugins
case `uname` in case `uname` in
Darwin) Darwin)
# zinit bundle kiurchv/asdf.plugin.zsh # zinit bundle kiurchv/asdf.plugin.zsh
;; # Herd injected NVM configuration
export NVM_DIR="/Users/einverne/Library/Application Support/Herd/config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[[ -f "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh" ]] && builtin source "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh"
# Herd injected PHP 8.3 configuration.
export HERD_PHP_83_INI_SCAN_DIR="/Users/einverne/Library/Application Support/Herd/config/php/83/"
# Herd injected PHP binary.
export PATH="/Users/einverne/Library/Application Support/Herd/bin/":$PATH
# Herd injected PHP 7.4 configuration.
export HERD_PHP_74_INI_SCAN_DIR="/Users/einverne/Library/Application Support/Herd/config/php/74/"
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/sbin:$PATH"
# Herd injected PHP 8.1 configuration.
export HERD_PHP_81_INI_SCAN_DIR="/Users/einverne/Library/Application Support/Herd/config/php/81/"
# Added by Windsurf
export PATH="/Users/einverne/.codeium/windsurf/bin:$PATH"
;;
FreeBSD) FreeBSD)
;; ;;
esac esac
#if type brew &>/dev/null; then #if type brew &>/dev/null; then

Loading…
Cancel
Save