summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-10-12 16:58:06 +0200
committerMarc Vertes <mvertes@free.fr>2024-10-12 16:58:06 +0200
commitd8582fc7444451f503432735c35cc0a002311ebb (patch)
tree892a6592e8ba7680d090afa9f491b73e26080bdc /.profile
parent37a8db745c42e174a33ef516d1af0071cd02f67c (diff)
update
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