Update ZSH profile
This commit is contained in:
parent
798c4e74b0
commit
ac904f6437
29
zshrc
29
zshrc
@ -111,3 +111,32 @@ PROMPT+='$(_git_info)'
|
|||||||
PROMPT+='${NEWLINE}'
|
PROMPT+='${NEWLINE}'
|
||||||
# Start second line
|
# Start second line
|
||||||
PROMPT+=' > '
|
PROMPT+=' > '
|
||||||
|
|
||||||
|
# Composer
|
||||||
|
export PATH="$HOME/.composer/vendor/bin:$PATH"
|
||||||
|
|
||||||
|
# Homebrew
|
||||||
|
export PATH="/usr/local/sbin:$PATH"
|
||||||
|
|
||||||
|
# Node.js
|
||||||
|
|
||||||
|
## NVM
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
|
||||||
|
### Load NVM
|
||||||
|
[ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh"
|
||||||
|
|
||||||
|
### Load bash completion
|
||||||
|
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm"
|
||||||
|
|
||||||
|
# Python
|
||||||
|
|
||||||
|
## pyenv
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
|
||||||
|
### pyenv setup
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
|
## pipx
|
||||||
|
export PATH="$PATH:/~/.local/bin"
|
Loading…
Reference in New Issue
Block a user