-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
20 lines (16 loc) · 1011 Bytes
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html
#
# Invoked as an interactive login shell, or with --login
# ------------------------------------------------------
# When Bash is invoked as an interactive login shell, or as a non-interactive
# shell with the --login option, it first reads and executes commands from the
# file /etc/profile, if that file exists. After reading that file, it looks for
# ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and
# executes commands from the first one that exists and is readable. The
# --noprofile option may be used when the shell is started to inhibit this
# behavior.
#export DBG_THIS=yes # Uncomment this line to show sequence of startup scripts.
export _DBG_SHSTARTUP=${DBG_THIS}${_DBG_SHSTARTUP} # Don't uncomment this line.
[ ! -z "${_DBG_SHSTARTUP}" ] && echo "Entering <ucfg>/.bash_profile"
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
[ ! -z "${_DBG_SHSTARTUP}" ] && echo "Exiting <ucfg>/.bash_profile"