# .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

autoload -Uz compinit
compinit