support-mise #1

Merged
kazu634 merged 2 commits from support-mise into main 2024-02-12 13:36:28 +00:00
3 changed files with 0 additions and 41 deletions
Showing only changes of commit 7aacf0e8bb - Show all commits

View File

@ -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

View File

@ -1,9 +0,0 @@
# === nodebrew ===
case ${OSTYPE} in
*)
if [ -e /${HOME}/.nodebrew/nodebrew ]; then
PATH=${HOME}/.nodebrew/current/bin:${PATH}
export PATH
fi
;;
esac

View File

@ -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