From d8582fc7444451f503432735c35cc0a002311ebb Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 12 Oct 2024 16:58:06 +0200 Subject: update --- .profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.profile') 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 -- cgit v1.2.3