about summary refs log tree commit diff stats
path: root/bin/shenv
blob: b242955f3b2637c909c8202c7271bce3f8f92fb7 (plain) (blame)
1
2
3
4
5
#!/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_HOME:=$HOME/.config}/shrc
exec /bin/sh "$@"