summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-09 18:39:41 -0700
committerDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-09 18:39:41 -0700
commitc059adf2ea2fccf5808b6a40ad722c29a2729fbb (patch)
tree3646cfb2c73db92325092ee70652663ab7bf7ff9
parent9e4a7ec8c07ac90c10f642a3d3970ff885190e27 (diff)
Add .bash_profile, also a test.
-rw-r--r--.bash_profile11
1 files changed, 11 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 100644
index 0000000..c13e9c6
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,11 @@
+#
+# ~/.bash_profile
+#
+
+## This only is read by bash when it is a login shell,
+# not an interactive one (lightdm, for example). So
+# .profile has to be sourced (as well as .bashrc). See:
+# https://unix.stackexchange.com/questions/88106/why-doesnt-my-bash-profile-work.
+
+[[ -f ~/.profile ]] && . ~/.profile
+[[ -f ~/.bashrc ]] && . ~/.bashrc