diff --git a/.config/shell/aliases.sh b/.config/shell/aliases.sh index b73d768..12819ef 100644 --- a/.config/shell/aliases.sh +++ b/.config/shell/aliases.sh @@ -7,6 +7,8 @@ alias camon='sudo modprobe uvcvideo' alias pu='git push' alias st='git st' +alias src_common='source ~/.config/shell/start.sh' + foldersize(){ du -sh $@ } diff --git a/.config/shell/start.sh b/.config/shell/start.sh index 3ab620c..b770a7b 100755 --- a/.config/shell/start.sh +++ b/.config/shell/start.sh @@ -40,6 +40,10 @@ export GOPATH="$XDG_DATA_HOME/go" path_add "$GOPATH/bin" # node, npm, yarn +export NVM_DIR="$HOME/.config/nvm" +[ -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 + export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"