Merge pull request 'support-mise' (#1) from support-mise into main
Reviewed-on: #1
This commit is contained in:
commit
528c19a677
|
@ -1,22 +0,0 @@
|
|||
# === go ===
|
||||
case ${OSTYPE} in
|
||||
darwin*)
|
||||
# For Mac only
|
||||
export GOPATH="$HOME/work/go"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
;;
|
||||
linux*)
|
||||
# for Linux Only
|
||||
if [ -e ${HOME}/.goenv/bin/goenv ]; then
|
||||
export GOENV_ROOT="$HOME/.goenv"
|
||||
export GOPATH="$HOME/works/mnt/go"
|
||||
export PATH="$GOENV_ROOT/bin:$GOPATH/bin:$PATH"
|
||||
|
||||
export GOENV_DISABLE_GOPATH=1
|
||||
|
||||
eval "$(goenv init -)"
|
||||
|
||||
export PATH="$GOROOT/bin:$PATH"
|
||||
fi
|
||||
esac
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# === mise ===
|
||||
case ${OSTYPE} in
|
||||
*)
|
||||
# for Linux Only
|
||||
if [ -e /usr/bin/mise ]; then
|
||||
eval "$(mise activate zsh)"
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,9 +0,0 @@
|
|||
# === nodebrew ===
|
||||
case ${OSTYPE} in
|
||||
*)
|
||||
if [ -e /${HOME}/.nodebrew/nodebrew ]; then
|
||||
PATH=${HOME}/.nodebrew/current/bin:${PATH}
|
||||
export PATH
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,10 +0,0 @@
|
|||
# === rbenv ===
|
||||
case ${OSTYPE} in
|
||||
*)
|
||||
# for Linux Only
|
||||
if [ -e ${HOME}/.rbenv/bin/rbenv ]; then
|
||||
export PATH="${HOME}/.rbenv/bin:${PATH}"
|
||||
eval "$(rbenv init - zsh)"
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue