Various env var fixes, tweaks, and shell boot speed up

This commit is contained in:
2016-07-06 22:31:04 +01:00
parent d1ffb1dcf1
commit ccaf6bdf69
5 changed files with 38 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME/.nvm/nvm.sh"
# And it's shell completion
if [ -f "$HOME/.nvm/bash_completion" ]; then
if [ -n "$BASH_VERSION" ] && [ -f "$HOME/.nvm/bash_completion" ]; then
source "$HOME/.nvm/bash_completion"
fi
fi