From 7aacf0e8bba97629d810ad9187707c28a6ec599b Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 12 Feb 2024 22:30:16 +0900 Subject: [PATCH] Delete other `xxxenv` configs. --- .zsh.d/goenv.zsh | 22 ---------------------- .zsh.d/node.zsh | 9 --------- .zsh.d/rbenv.zsh | 10 ---------- 3 files changed, 41 deletions(-) delete mode 100644 .zsh.d/goenv.zsh delete mode 100644 .zsh.d/node.zsh delete mode 100644 .zsh.d/rbenv.zsh diff --git a/.zsh.d/goenv.zsh b/.zsh.d/goenv.zsh deleted file mode 100644 index a1f7ab3..0000000 --- a/.zsh.d/goenv.zsh +++ /dev/null @@ -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 - diff --git a/.zsh.d/node.zsh b/.zsh.d/node.zsh deleted file mode 100644 index 99d71db..0000000 --- a/.zsh.d/node.zsh +++ /dev/null @@ -1,9 +0,0 @@ -# === nodebrew === -case ${OSTYPE} in - *) - if [ -e /${HOME}/.nodebrew/nodebrew ]; then - PATH=${HOME}/.nodebrew/current/bin:${PATH} - export PATH - fi - ;; -esac diff --git a/.zsh.d/rbenv.zsh b/.zsh.d/rbenv.zsh deleted file mode 100644 index d333a5b..0000000 --- a/.zsh.d/rbenv.zsh +++ /dev/null @@ -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