summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
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