nvm shit and home alias
This commit is contained in:
parent
f695029b5f
commit
2ecd846ad6
5
.zshrc
5
.zshrc
|
@ -42,6 +42,7 @@ alias ipb="ip -brief"
|
||||||
alias psa="ps -eadf"
|
alias psa="ps -eadf"
|
||||||
alias fsize="stat --printf='%s'"
|
alias fsize="stat --printf='%s'"
|
||||||
alias rg="rg --no-ignore"
|
alias rg="rg --no-ignore"
|
||||||
|
alias home="cd $HOME"
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||||
|
@ -218,3 +219,7 @@ if [ -d $HOME/.pyenv ]; then
|
||||||
eval "$(pyenv virtualenv-init - zsh)"
|
eval "$(pyenv virtualenv-init - zsh)"
|
||||||
pyenv activate std 2> /dev/null > /dev/null
|
pyenv activate std 2> /dev/null > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue