feat(zsh): idiomatically organise .zprofile .zshenv and .zshrc

This commit is contained in:
2026-03-09 12:08:23 +01:00
parent 7829980f8f
commit d92857428e
5 changed files with 26 additions and 21 deletions

View File

@@ -4,8 +4,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
# ~/.local/bin
export PATH="$HOME/.local/bin:$PATH"
# deduplicate path
typeset -U path
# editor
export EDITOR=nvim
@@ -13,14 +13,12 @@ export EDITOR=nvim
# go
export GOPATH="$XDG_DATA_HOME/go"
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
export PATH="$GOPATH/bin:$PATH"
# ggman
export GGROOT="$HOME/git"
# name
export NAME="Matej Janežič"
# starship nest config into a folder, default is ~/.config/startship.toml
# starship nest config into a folder, default is ~/.config/starship.toml
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/config.toml"