feat: add .zsh_aliases and source from .zshrc

This commit is contained in:
2026-04-04 13:38:38 +03:00
parent 34f8926c09
commit 9b5266b6d4
3 changed files with 156 additions and 0 deletions

18
.zshenv Normal file
View File

@@ -0,0 +1,18 @@
# Deduplicate PATH entries automatically
typeset -U PATH
# Load PATH from ~/.env for all shell invocations (interactive + non-interactive)
if [[ -f ~/.env ]]; then
while IFS= read -r line; do
if [[ "$line" == PATH=* ]]; then
path_value="${line#PATH=}"
expanded_path=$(eval echo "$path_value")
PATH="$expanded_path:$PATH"
fi
done < ~/.env
fi
# Begin added by argcomplete
fpath=( /home/jojo/.local/share/pipx/venvs/ansible/lib/python3.12/site-packages/argcomplete/bash_completion.d "${fpath[@]}" )
# End added by argcomplete