Add a hook to load project specific environment

This commit is contained in:
2025-02-28 15:23:42 +01:00
parent 8b65dfd176
commit 3175839954
3 changed files with 15 additions and 3 deletions

View File

@ -19,5 +19,12 @@ alias rdpwin='xfreerdp /f /sound /v:192.168.0.4 /u:belka@caraus.de'
command -v rbenv >/dev/null 2>&1 && eval "$(rbenv init -)"
command -v fastfetch >/dev/null 2>&1 && fastfetch
echo $YASH_AFTER_CD
read_project_env() {
test -x .env.sh && . .env.sh
}
read_project_env
YASH_AFTER_CD=read_project_env
# vim: set ft=sh: