Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .zsh/configs/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ compinit
# >>>> nvm command completion (start)
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# <<<< nvm command completion (end)

eval "$(supabase completion zsh)"
14 changes: 1 addition & 13 deletions .zsh/configs/virtual/go.zsh
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go

export GOROOT="$(go env GOROOT)"
export GOOS="$(go env GOOS)"
export GOARCH="$(go env GOARCH)"
export CGO_ENABLED=1
export GO111MODULE=on
export GOBIN=$GOPATH/bin
export GO15VENDOREXPERIMENT=1
export NVIM_GO_LOG_FILE=$XDG_DATA_HOME/go

export PATH=$GOBIN:$GOROOT/bin:$PATH
# Go configuration has been moved to dev container environments
36 changes: 1 addition & 35 deletions .zsh/configs/virtual/python.zsh
Original file line number Diff line number Diff line change
@@ -1,35 +1 @@
export PYENV_ROOT="${HOME}/.pyenv"

if [ -d "${PYENV_ROOT}" ]; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
. "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh"
else
export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
fi

# export PIP_RESPECT_VIRTUALENV=true
# WORKON_HOME=$HOME/.virtualenvs
# source /Users/keito/.pyenv/versions/3.5.2/bin/virtualenvwrapper.sh

FILE="$HOME/.poetry/env"

if [ -e $FILE ]; then
export PATH="$HOME/.poetry/bin:$PATH"
source $HOME/.poetry/env
fi

# eval "$(register-python-argcomplete conda)"
export CLOUDSDK_PYTHON=~/.pyenv/shims/python
# Python/pyenv configuration has been moved to dev container environments