diff options
author | Ensa <psychoticfervor@tuta.io> | 2019-12-20 00:14:09 -0800 |
---|---|---|
committer | Ensa <psychoticfervor@tuta.io> | 2019-12-20 00:14:09 -0800 |
commit | 4684d80b6271dd775cd23dabf2b91d6ce56fa33a (patch) | |
tree | ddb6c6219e213132b8500e016b1ce238aa71029d /bin/shenv | |
parent | f733ca7c8041866df27752c8e0c2610e0ecef6a7 (diff) | |
download | cfg-4684d80b6271dd775cd23dabf2b91d6ce56fa33a.tar.gz |
first significant commit
see README.md for information
Diffstat (limited to 'bin/shenv')
-rwxr-xr-x | bin/shenv | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/shenv b/bin/shenv new file mode 100755 index 0000000..b9428b8 --- /dev/null +++ b/bin/shenv @@ -0,0 +1,6 @@ +#!/bin/sh +# simply sources the shrc and runs a shell with that as its environment. +# passes through all arguments that sh takes. to be used instead of sh. +XDG_CONFIG_DIR=${XDG_CONFIG_DIR:="$HOME/.config"} +. $XDG_CONFIG_DIR/shrc +exec sh "$@" |