feat: split existing stuff into new atructure

This commit is contained in:
Jan-Ole Hübner 2025-04-06 19:09:40 +02:00
parent 38035a3c00
commit 29e363d419
13 changed files with 2178 additions and 0 deletions

15
.zprofile Executable file
View file

@ -0,0 +1,15 @@
export PATH="$PATH:$HOME/.local/bin:$HOME/bin"
# ── 2. Load .env files from ~/.environment.d/ ───────────────────
# Automatically export all variables defined while sourcing .env files
setopt allexport
for file in ~/.environment.d/*.env(.N); do
source "$file"
done
unset file
unsetopt allexport
# ── 3. Source ~/.zshrc (if this is a login shell sourcing a profile file) ─
# In Zsh, this is unnecessary in most setups unless you separate login/init logic.
[[ -r ~/.zshrc ]] && source ~/.zshrc