Update logging, path, docker scripts

This commit is contained in:
Andrejus
2020-07-12 14:11:50 +01:00
parent 1418a61962
commit f9cb667046
8 changed files with 55 additions and 39 deletions

View File

@@ -1,3 +1,5 @@
echo "Loading bash profile"
# Load .profile, containing login, non-bash related initializations.
source "$HOME/.profile"

View File

@@ -27,28 +27,22 @@ if [ -z "$PROFILE_LOCK" ]; then
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="$PYENV_ROOT/shims:$PATH"
if [ -d "$PYENV_ROOT" ]; then
export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="$PYENV_ROOT/shims:$PATH"
[ -x "$(command -v pyenv)" ] && eval "$(pyenv init -)"
fi
# poetry
export POETRY_ROOT="$HOME/.poetry"
if [ -d "$POETRY_ROOT" ]; then
export PATH="$POETRY_ROOT/bin:$PATH"
fi
export PATH="$POETRY_ROOT/bin:$PATH"
# nvm
export NVM_DIR="$XDG_CONFIG_HOME/nvm"
if [ -d "$NVM_DIR" ]; then
export PATH="$NVM_DIR/bin:$PATH"
fi
export PATH="$NVM_DIR/bin:$PATH"
# yarn
export YARN_DIR="$HOME/.yarn"
if [ -d "$YARN_DIR" ]; then
export PATH="$YARN_DIR/bin:$PATH"
fi
export PATH="$YARN_DIR/bin:$PATH"
fi