env: use custom wine prefix and wine runner when present

This commit is contained in:
PowerUser64 2023-10-30 11:10:58 -07:00
parent d2db518b30
commit 7a4eaaa5b7

View file

@ -115,4 +115,12 @@ N="${NIXOS_DIR:-}"
export S SS # this makes it easier to load the shrc while in posix sh
# wine things (TODO: REMOVE WHEN NOT NEEDED)
if test -d "$HOME/.local/share/bottles/bottles/east-west-composers"; then
WINEPREFIX="$HOME/.local/share/bottles/bottles/east-west-composers"
fi
if test -d "$HOME/.local/share/bottles/runners/wine-ge-proton8-21/bin"; then
PATH="$HOME/.local/share/bottles/runners/wine-ge-proton8-21/bin:$PATH"
fi
# vim:fdm=marker:fmr=>>>,<<<:et:ft=sh:sw=3:ts=3