Update shell

old-yadm
earnest ma 2021-07-24 10:24:23 -04:00
parent 7cba1a9048
commit a4472a9e72
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,8 @@ alias camon='sudo modprobe uvcvideo'
alias pu='git push' alias pu='git push'
alias st='git st' alias st='git st'
alias src_common='source ~/.config/shell/start.sh'
foldersize(){ foldersize(){
du -sh $@ du -sh $@
} }

View File

@ -40,6 +40,10 @@ export GOPATH="$XDG_DATA_HOME/go"
path_add "$GOPATH/bin" path_add "$GOPATH/bin"
# node, npm, yarn # 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" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"