1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-03-25 18:48:52 +01:00
parent 92f097cb82
commit 64596a073c
No known key found for this signature in database
13 changed files with 192 additions and 404 deletions

View file

@ -1,8 +1,29 @@
# shellcheck shell=bash
shopt -s autocd globstar nullglob extglob checkwinsize
for rc in /etc/bashrc /etc/*.bashrc; do
if [[ -e $rc ]]; then
# shellcheck disable=SC1090
source "$rc"
fi
done
if hash direnv 2>/dev/null; then
eval "$(direnv hook bash)"
fi
if hash starship 2>/dev/null; then
eval "$(starship init bash)"
fi
if hash nix 2>/dev/null; then
export PATH=${XDG_STATE_HOME:-~/.local/state}/nix/profile/bin:$PATH
fi
if hash hx 2>/dev/null; then
export EDITOR=hx
export VISUAL=hx
fi
export PATH=~/.local/bin:$PATH