From 9789be69d4ebdc499fa4cea45736cb1608c72891 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Thu, 26 Jan 2023 17:29:08 +0530 Subject: [PATCH] change the way we add ~/.local/bin to $PATH --- .config/shell/profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/shell/profile b/.config/shell/profile index b33f1aa..52a0c39 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -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"