mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
{bash,zsh}rc: add pyenv & rbenv
This commit is contained in:
parent
84df897758
commit
a0f5a327b5
12
rc/bashrc
12
rc/bashrc
@ -274,6 +274,18 @@ if [ -d ~/.nvm ]; then
|
|||||||
. ~/.nvm/bash_completition
|
. ~/.nvm/bash_completition
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# https://github.com/rbenv/rbenv
|
||||||
|
if [ -d ~/.rbenv/bin ]; then
|
||||||
|
PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
|
rbenv init > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# https://github.com/pyenv/pyenv
|
||||||
|
if [ -d ~/.pyenv/bin ]; then
|
||||||
|
PATH="$HOME/.pyenv/bin:$PATH"
|
||||||
|
pyenv init > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
# https://github.com/nodenv/nodenv
|
# https://github.com/nodenv/nodenv
|
||||||
if [ -d ~/.nodenv/bin ]; then
|
if [ -d ~/.nodenv/bin ]; then
|
||||||
PATH="$HOME/.nodenv/bin:$PATH"
|
PATH="$HOME/.nodenv/bin:$PATH"
|
||||||
|
12
rc/zshrc
12
rc/zshrc
@ -240,6 +240,18 @@ if [ -d ~/.nvm ]; then
|
|||||||
. ~/.nvm/bash_completion
|
. ~/.nvm/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# https://github.com/rbenv/rbenv
|
||||||
|
if [ -d ~/.rbenv/bin ]; then
|
||||||
|
PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
|
rbenv init >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# https://github.com/pyenv/pyenv
|
||||||
|
if [ -d ~/.pyenv/bin ]; then
|
||||||
|
PATH="$HOME/.pyenv/bin:$PATH"
|
||||||
|
pyenv init >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
# https://github.com/nodenv/nodenv
|
# https://github.com/nodenv/nodenv
|
||||||
if [ -d ~/.nodenv/bin ]; then
|
if [ -d ~/.nodenv/bin ]; then
|
||||||
PATH="$HOME/.nodenv/bin:$PATH"
|
PATH="$HOME/.nodenv/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user