env: use path_append
This commit is contained in:
parent
b7d187caaa
commit
4ce162f0f9
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue