summaryrefslogtreecommitdiff
path: root/.local/lib/path.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-12 14:41:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-12 14:41:33 -0400
commitb0cdbb3da2c2b36d3c65b00db4eaf5a0d29c2cd6 (patch)
tree6815d1584f909fd52a87f04de26fc179ae7c163e /.local/lib/path.sh
parent5f7de477be298f158369862c1a3cc80286fc7e32 (diff)
parent9413cf45dfc7601ace8d448a026a24073b6d73b4 (diff)
Merge branch 'thinkpenguin-par'
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 /')"