summaryrefslogtreecommitdiff
path: root/.local/lib/path.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-12 19:12:40 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-12 19:12:40 -0400
commit8ff950d098146bc929504b062bcc6ccd5a2cb6ed (patch)
treee5d73cf1997b28bbaa24a693f5d8c2abb45be313 /.local/lib/path.sh
parent9d689e7d224b5c1ea3ab3018998135979f19c5a9 (diff)
parentb0cdbb3da2c2b36d3c65b00db4eaf5a0d29c2cd6 (diff)
Merge remote-tracking branch 'origin/master' into build64-par
Conflicts: .config/bash/rc.sh .config/login.sh .config/ssh/config .config/wmii/include.sh
Diffstat (limited to '.local/lib/path.sh')
-rw-r--r--.local/lib/path.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/lib/path.sh b/.local/lib/path.sh
new file mode 100644
index 0000000..a45f8fd
--- /dev/null
+++ b/.local/lib/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 /')"