Files
2026-06-27 21:25:33 -04:00

39 lines
990 B
Bash

# .zshrc
[[ -f "$HOME/.var/app/com.visualstudio.code/data/../bin/env" ]] && . "$HOME/.var/app/com.visualstudio.code/data/../bin/env"
[[ -f "$HOME/.local/bin/env" ]] && . "$HOME/.local/bin/env"
export TIME_STYLE="long-iso"
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
if [[ ":$PATH:" != *":${HOME}/.local/bin:"* ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# Konsole-specific (optional)
export TERM=xterm-256color
# User specific aliases and functions
if [[ -d ~/.zshrc.d ]]; then
for rc in ~/.zshrc.d/*(N); do
[[ -f "$rc" ]] && source "$rc"
done
fi
unset rc
# >>> grok installer >>>
export PATH="$HOME/.grok/bin:$PATH"
fpath=("$HOME/.grok/completions/zsh" $fpath)
# <<< grok installer <<<
# If not running interactively, don't do anything
[[ -o interactive ]] || return
# Delete key sends ESC[3~; without this binding zsh inserts "~" literally
[[ -n ${terminfo[kdch1]} ]] && bindkey "${terminfo[kdch1]}" delete-char
autoload -Uz compinit
compinit