summaryrefslogtreecommitdiff
path: root/bash/.bash_profile
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2026-11-07 22:21:01 -0500
committerMatt Turner <mattst88@gmail.com>2026-11-08 14:07:17 -0500
commitfd79fbe238f9eb3bd25d5814b9f38a413a1f180a (patch)
tree0e7df0952da3e4680cbc7f9f6c1d43bf22fe293f /bash/.bash_profile
parent4422a20fae24f08f36884bac3b1fc02b97b9fad2 (diff)
bash: add bashrc that hands interactive sessions to zsh
Keep bash as the login shell so that if zsh is removed or broken, SSH logins and other login sessions still get a working shell. Interactive sessions on a terminal exec zsh, unless NO_ZSH is set or zsh isn't installed. Scripts and scp/rsync stay on bash.
Diffstat (limited to 'bash/.bash_profile')
-rw-r--r--bash/.bash_profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..1de05a4
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,7 @@
+# /etc/skel/.bash_profile
+
+# This file is sourced by bash for login shells. The following line
+# runs your .bashrc and is recommended by the bash info pages.
+if [[ -f ~/.bashrc ]] ; then
+ . ~/.bashrc
+fi