about summary refs log tree commit diff stats
path: root/bin/shenv
blob: b9428b8abd820139906ef4716d1988d12a308917 (plain) (blame)
1
2
3
4
5
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 "$@"