]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bash/profile
Only load ~/.bashrc if it's available.
[config/dotfiles.git] / bash / profile
index 3c62d60c904dff56d528eac84d671b3fb1ed2e0c..4c2555220e614eb573cfe8cacc2dff1e06fa7ea4 100644 (file)
@@ -1,5 +1,9 @@
 # Bash login configuration file.
 
 
-# Load ~/.bashrc.
-. ~/.bashrc
+# Load ~/.bashrc if it exists.
+if [[ -f ~/.bashrc ]]; then
+    . ~/.bashrc
+fi
+
+# vim: ft=sh