summaryrefslogtreecommitdiff
path: root/.config/login.d/00_path.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 01:48:23 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 01:48:23 -0500
commitb68ce750ac90da4fb88669d256666dbaa39f4338 (patch)
treecabf50b7a85d1062ba60bd3ebf45fb17965884ca /.config/login.d/00_path.sh
parent15820c5e8ed6f01cf4a87b85126eb7f346ebab3d (diff)
parent34bbf66a460e5c622e209211869b3a8bde8a68d5 (diff)
Merge remote-tracking branch 'origin/gluglugt60-par' into build64-par
Conflicts: .config/login.sh .config/lxpanel/default/config .config/wmii-hg/config.sh
Diffstat (limited to '.config/login.d/00_path.sh')
-rw-r--r--.config/login.d/00_path.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/login.d/00_path.sh b/.config/login.d/00_path.sh
new file mode 100644
index 0000000..a45f8fd
--- /dev/null
+++ b/.config/login.d/00_path.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if type config-path &>/dev/null; then
+ config_path=config-path
+else
+ # Bootstrap finding config-path
+ config_path="$HOME/.local/bin/config-path"
+fi
+eval "$("$config_path" | sed 's/^/export /')"