fix: linting
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user