summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/.profile b/.profile
index 64f7ed6..e1b8a7c 100644
--- a/.profile
+++ b/.profile
@@ -1,6 +1,9 @@
export PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin
export XDG_RUNTIME_DIR=/run/user/1000
-[ "$SHELL" = /bin/ash ] && export ENV=~/.shrc
+case "$SHELL" in
+*/ash) export ENV=~/.shrc ;;
+*/bash) . ~/.bashrc ;;
+esac
[ "$(tty)" = /dev/tty1 ] && exec dbus-run-session -- sway