From 049ac212a2c6e9baf02d0312909767c6c5f9a54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20B=C3=BCckendorf?= Date: Mon, 3 Dec 2018 00:18:47 +0100 Subject: [PATCH] Added bash_profile. Loads an .env file that can be used to supply environment variables that are not to be included here. --- .bash_profile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .bash_profile diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..fc040ff --- /dev/null +++ b/.bash_profile @@ -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