Add .profile for graphical login

This commit is contained in:
Jeremy Dormitzer 2019-05-04 12:36:19 -04:00
parent a2e8af8906
commit a506dec0cf
2 changed files with 13 additions and 12 deletions

View File

@ -6,15 +6,4 @@
[[ -f ~/.bash_local ]] && . ~/.bash_local [[ -f ~/.bash_local ]] && . ~/.bash_local
if [ -d ~/lola ]; [[ -f ~/.profile ]] && . ~/.profile
then
export LOLA_HOME=~/lola/lola-server
export MODELS_HOME=~/lola/models
export LOLA_TRAVEL_SERVICE_HOME=~/lola/lola-travel-service
fi
export LEDGER_FILE="~/journal.ledger"
PATH="$PATH":"~/.local/bin":"~/bin/":"~/.gem/ruby/2.6.0/bin":"~/.gem/ruby/2.5.0/bin":"~/go/bin"
EDITOR="$(which emacsclient)"
export EDITOR

12
bash/.profile Normal file
View File

@ -0,0 +1,12 @@
if [ -d ~/lola ];
then
export LOLA_HOME=~/lola/lola-server
export MODELS_HOME=~/lola/models
export LOLA_TRAVEL_SERVICE_HOME=~/lola/lola-travel-service
fi
export LEDGER_FILE="~/journal.ledger"
PATH="~/.local/bin":"~/bin/":"~/.gem/ruby/2.6.0/bin":"~/.gem/ruby/2.5.0/bin":"~/go/bin":"$PATH"
EDITOR="$(which emacsclient)"
export EDITOR