summaryrefslogtreecommitdiff
path: root/.config/login.d/00_path.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
commitcbd6ae1cc7374e9c825642751bfa146c7cc0a5a8 (patch)
tree4deb4424b115b3215bc696ac467149368b97d79d /.config/login.d/00_path.sh
parentaf7fca016ab0e83c129147f8102dc8ee893571a8 (diff)
parenta19e716cf26fa4a67fe676d0822c96425d528903 (diff)
Merge branch 'gluglugt60-par'
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 /')"