aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bash_profile
diff options
context:
space:
mode:
authorSpacedio <spacedio@thernusen.net>2026-04-27 19:02:20 -0400
committerSpacedio <spacedio@thernusen.net>2026-04-27 19:02:20 -0400
commit5a4e777e5d18faf6e829d95aa6947ec396f6dff8 (patch)
tree4762d2062f7ea73df51d0c809cb61a694325ad7d /bash/.bash_profile
parentb4d43e1d4d390ad4f429a02edd90927070a35050 (diff)
downloaddotfiles-5a4e777e5d18faf6e829d95aa6947ec396f6dff8.tar.gz
Renamed bashrc to bash since it now contains another file related to bash.
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