From c2ceb9603a29b1b95e6a94c9e0164578c1f5d669 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sun, 17 Aug 2025 16:00:49 +0900 Subject: [PATCH] feat: update held zshrc --- .zshrc | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index c1fdf8e..a07b4a7 100644 --- a/.zshrc +++ b/.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" fi +[[ "$TERM_PROGRAM" == "kiro" ]] && . "$(kiro --locate-shell-integration-path zsh)" + if [[ ! -f ~/.zinit/bin/zinit.zsh ]]; then mkdir ~/.zinit 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 case `uname` in 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/php@7.4/bin:$PATH" + export PATH="/opt/homebrew/opt/php@7.4/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) - ;; + ;; esac #if type brew &>/dev/null; then