From: Elan Ruusamäe Date: Sat, 22 Jan 2011 20:08:28 +0000 (+0000) Subject: - add xdg like ~/.local/bin to PATH if exists X-Git-Tag: setup-2_7_3~3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=d9c79f58a96ef14b36acd300cb75ab7910ea150a;p=projects%2Fsetup.git - add xdg like ~/.local/bin to PATH if exists Changed files: etc/profile -> 1.54 --- diff --git a/etc/profile b/etc/profile index b758efd..97bdb7d 100644 --- a/etc/profile +++ b/etc/profile @@ -11,6 +11,7 @@ checkpath() { } checkpath "$PATH" /usr/X11R6/bin || PATH="$PATH:/usr/X11R6/bin" checkpath "$PATH" /usr/local/bin || PATH="$PATH:/usr/local/bin" +checkpath "$PATH" "$HOME/.local/bin" || PATH="$PATH:$HOME/.local/bin" checkpath "$PATH" "$HOME/bin" || PATH="$PATH:$HOME/bin" unset checkpath