]> git.pld-linux.org Git - projects/setup.git/commitdiff
- add xdg like ~/.local/bin to PATH if exists
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Jan 2011 20:08:28 +0000 (20:08 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Jan 2011 20:08:28 +0000 (20:08 +0000)
Changed files:
    etc/profile -> 1.54

etc/profile

index b758efd6f6ad25b350b87cdbbd33eb23218e836c..97bdb7d9d0b2b7f7d2f8476b3a33136ae4258fdf 100644 (file)
@@ -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
 
This page took 0.173906 seconds and 4 git commands to generate.