From 4ce162f0f92d1f71b1489a5a7b82489b247809af Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 12 Sep 2024 02:41:25 -0700 Subject: [PATCH] env: use path_append --- .config/shell/env | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.config/shell/env b/.config/shell/env index a2ee892..cc4d6d6 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 -[ -d "$HOME/.cargo/bin" ] && export PATH="$PATH:$HOME/.cargo/bin" +path_append "$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,12 +157,4 @@ 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