about summary refs log tree commit diff stats
path: root/bin/shenv
diff options
context:
space:
mode:
Diffstat (limited to 'bin/shenv')
-rwxr-xr-xbin/shenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/shenv b/bin/shenv
index d37733f..b242955 100755
--- a/bin/shenv
+++ b/bin/shenv
@@ -1,5 +1,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.
-. ~/etc/shrc
-exec sh "$@"
+. ${XDG_CONFIG_HOME:=$HOME/.config}/shrc
+exec /bin/sh "$@"