diff options
| author | krolyxon <krolyxon@tutanota.com> | 2023-01-26 17:29:08 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2023-01-26 17:29:08 +0530 |
| commit | 9789be69d4ebdc499fa4cea45736cb1608c72891 (patch) | |
| tree | b8da5990e8597e810bf772ba1a4ac35879147930 /.config/shell | |
| parent | 112b027d524bf73c115f6afdc1e3ad64a64ba5ff (diff) | |
change the way we add ~/.local/bin to $PATH
Diffstat (limited to '.config/shell')
| -rw-r--r-- | .config/shell/profile | 4 |
1 files changed, 3 insertions, 1 deletions
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" |
