1
0

add changes made in work workstation

This commit is contained in:
2026-03-15 18:19:17 +01:00
parent f100cffb79
commit 07258cd68a
16 changed files with 401 additions and 50 deletions

View File

@@ -36,9 +36,10 @@ case "$(uname -s)" in
fi
} ;;
Darwin*) {
source "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# Use HOMEBREW_PREFIX (set in .zshenv) to avoid slow brew --prefix subprocess on every new shell
source "${HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# make less more friendly for non-text input files, see lesspipe(1)
export LESSOPEN="|$(brew --prefix)/bin/lesspipe.sh %s"
export LESSOPEN="|${HOMEBREW_PREFIX}/bin/lesspipe.sh %s"
} ;;
*) ;;
esac
@@ -86,6 +87,9 @@ function preexec() {
}
precmd() {
# Tell tmux our cwd (for pane_current_path) so tmux-window-name can show the directory
[[ -n "$TMUX" ]] && printf '\e]7;file://%s\a' "$(pwd)"
if [[ $__GIT_COMMAND_EXECUTED -eq 1 ]]; then
zstyle ':vcs_info:git*:*' cache-ttl 0
__GIT_COMMAND_EXECUTED=0
@@ -133,3 +137,11 @@ function +vi-git-extra() {
fi
fi
}
# Kiro CLI post block. Keep at the bottom of this file.
[[ -f "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh"
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
export PATH="/Users/inaki.dominguez/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)