summaryrefslogtreecommitdiffstatshomepage
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 1594575..526b43f 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -1,2 +1,6 @@
. ~/.profile
+
if [[ $- == *i* ]]; then . ~/.bashrc; fi
+
+# If running from tty1 start sway
+[ "$(tty)" = "/dev/tty1" ] && exec sway \ No newline at end of file