Compare commits
2 Commits
3e903cf7aa
...
7aacf0e8bb
Author | SHA1 | Date |
---|---|---|
Kazuhiro MUSASHI | 7aacf0e8bb | |
Kazuhiro MUSASHI | ac342907d8 |
|
@ -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