aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--bash/.bash_profile4
-rw-r--r--zsh/.config/zsh/.zprofile3
2 files changed, 7 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
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile
new file mode 100644
index 0000000..1b88dd5
--- /dev/null
+++ b/zsh/.config/zsh/.zprofile
@@ -0,0 +1,3 @@
+
+# If running from tty1 start sway
+[ "$(tty)" = "/dev/tty1" ] && exec sway \ No newline at end of file