diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 01:19:57 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 01:19:57 -0500 |
commit | 2a6dc16a75f4d7beed631d97a99b6a1fc82c4e79 (patch) | |
tree | c4fbdc91309529699c7550b691ba047a00aad0a8 /.config/login.d/00_path.sh | |
parent | f565769cdc68b24343ce2d3dbf4e322fad3a6c20 (diff) |
split login.sh into login.d
Diffstat (limited to '.config/login.d/00_path.sh')
-rw-r--r-- | .config/login.d/00_path.sh | 9 |
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 /')" |