fix: linting

This commit is contained in:
Andrejus
2021-06-28 00:37:17 +01:00
parent 9cea0005ee
commit 27c3473936
12 changed files with 20 additions and 31 deletions

View File

@@ -1,10 +1,2 @@
# Load .profile, containing login, non-bash related initializations.
[ -f "$HOME/.profile" ] && source "$HOME/.profile"
# Load .bashrc, containing non-login related bash initializations.
[ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"
# References:
# https://unix.stackexchange.com/questions/192521/loading-profile-from-bash-profile-or-not-using-bash-profile-at-all
# https://www.stefaanlippens.net/my_bashrc_aliases_profile_and_other_stuff/

View File

@@ -1,3 +0,0 @@
# Load nvm bash dependency
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

View File

@@ -27,6 +27,7 @@ export DOTFILES=${DOTFILES:-"$HOME/.dotfiles"}
# nvm
export NVM_DIR=${NVM_DIR:-"$HOME/.nvm"}
mkdir -p "$NVM_DIR"
[ -f "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
# node (default v14)