Compare commits

...

3 Commits

4 changed files with 9 additions and 41 deletions

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

9
.zsh.d/mise.zsh Normal file
View File

@ -0,0 +1,9 @@
# === mise ===
case ${OSTYPE} in
*)
# for Linux Only
if [ -e /usr/bin/mise ]; then
eval "$(mise activate zsh)"
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