diff --git a/.config/shell/env b/.config/shell/env index cc4d6d6..a2ee892 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -98,7 +98,7 @@ export ZLE_RPROMPT_INDENT=0 export ZINIT_HOME_DIR="$DATA_HOME/zinit" # Add cargo to PATH if it exists -path_append "$HOME/.cargo/bin" +[ -d "$HOME/.cargo/bin" ] && export PATH="$PATH:$HOME/.cargo/bin" # Set documents directory (auto set to the repo the file ~/todo points to is in) if [ -h ~/todo ] && command -v git > /dev/null; then @@ -157,4 +157,12 @@ DPC="$DP/classes" 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 diff --git a/.config/shell/local/.gitkeep b/.config/shell/local/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/.config/shell/local/env b/.config/shell/local/env new file mode 100644 index 0000000..8129a59 --- /dev/null +++ b/.config/shell/local/env @@ -0,0 +1,4 @@ +export REPOS_TO_UPDATE="/home/blake/Documents/pwp" +export PATH="$HOME/.local/share/bottles/runners/wine-ge-proton8-14/bin:$PATH" + +# vim:ft=bash diff --git a/.profile b/.profile index 780fc7c..0e68392 100644 --- a/.profile +++ b/.profile @@ -7,6 +7,11 @@ export SHELL_CONFIG_DIR="${SHELL_CONFIG_DIR:-"${XDG_CONFIG_HOME:-"$HOME/.config" . "$SHELL_CONFIG_DIR/env" +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi + # Locales export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8