bashrc.d: add go, pyenv
This commit is contained in:
5
bashrc.d/go.bash
Normal file
5
bashrc.d/go.bash
Normal file
@@ -0,0 +1,5 @@
|
||||
GO=$(which go)
|
||||
if [ -n "$GO" ] ; then
|
||||
export GOPATH=$(go env GOPATH)
|
||||
addpath "$GOPATH/bin"
|
||||
fi
|
||||
5
bashrc.d/pyenv.bash
Normal file
5
bashrc.d/pyenv.bash
Normal file
@@ -0,0 +1,5 @@
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
if [ -d "$PYENV_ROOT" ] ; then
|
||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
Reference in New Issue
Block a user