summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-08 01:23:12 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-08 01:23:12 -0700
commit262f2aaee60dccac99e2548f4481b8f0a70e6f70 (patch)
treed102e23ff33ab30d61e771e8a837943583f4f710 /.bash_profile
parent27568194632b55057195bce01b622005abea9dc6 (diff)
Standarization and preparation for cleaning ~
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile14
1 files changed, 6 insertions, 8 deletions
diff --git a/.bash_profile b/.bash_profile
index 2c51184..de1c697 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,11 +1,9 @@
#!/bin/sh
-# ~/.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.
+# 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
+[ -f $HOME/.profile ] && . $HOME/.profile
+[ -f $HOME/.bashrc ] && . $HOME/.bashrc