aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bash_profile')
-rw-r--r--bash/.bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..ac667e7
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,9 @@
+# .bash_profile
+
+# Get the aliases and functions
+[ -f $HOME/.bashrc ] && . $HOME/.bashrc
+
+# Start X11 automatically on TTY1 login
+if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
+ exec startx
+fi \ No newline at end of file