change the way we add ~/.local/bin to $PATH

This commit is contained in:
krolyxon 2023-01-26 17:29:08 +05:30
parent 112b027d52
commit 9789be69d4
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads.
export PATH=$PATH:$HOME/.local/bin
# Adds `~/.local/bin` to $PATH
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
# export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$HOME/.local/pbin # private bin
export PATH="$PATH:$XDG_DATA_HOME/cargo/bin"