Added bash_profile. Loads an .env file that can be used to supply environment variables that are not to be included here.
This commit is contained in:
parent
1b9707b764
commit
049ac212a2
1 changed files with 19 additions and 0 deletions
19
.bash_profile
Normal file
19
.bash_profile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# .bash_profile
|
||||
|
||||
# Get the aliases and functions
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# User specific environment and startup programs
|
||||
PATH=$PATH:$HOME/.local/bin:$HOME/bin
|
||||
export PATH
|
||||
|
||||
# Export environment variables found in ~/.env . This file should contain
|
||||
# environment variables that are either specific to a machine or can not be
|
||||
# included in the dotfiles repository for security or privacy reasons.
|
||||
if [ -f ~/.env ]; then
|
||||
set -a
|
||||
. ~/.env
|
||||
set +a
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue