From 262f2aaee60dccac99e2548f4481b8f0a70e6f70 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Tue, 8 Dec 2020 01:23:12 -0700 Subject: Standarization and preparation for cleaning ~ --- .bash_profile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to '.bash_profile') 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 -- cgit v1.2.3-70-g09d2