1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 16:10:45 +01:00

rm: remove pyenv

This commit is contained in:
Ryan Cao 2023-07-28 20:26:21 +08:00
parent d4de0e26fa
commit 36575f8d5b
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
5 changed files with 13 additions and 23 deletions

View file

@ -3,7 +3,7 @@ set -x SSH_AUTH_SOCK "$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/
# Homebrew shell
set -x HOMEBREW_NO_ANALYTICS 1
set -x HOMEBREW_CASK_OPTS "--require-sha"
set -x HOMEBREW_CASK_OPTS --require-sha
set -x HOMEBREW_NO_INSECURE_REDIRECT 1
set -x HOMEBREW_NO_EMOJI 1
/opt/homebrew/bin/brew shellenv | source
@ -11,12 +11,6 @@ set -x HOMEBREW_NO_EMOJI 1
# fnm shell env
fnm env --use-on-cd | source
# pyenv
set -x PYENV_ROOT "$HOME/.pyenv"
set -x PATH "$PYENV_ROOT/bin:$PATH"
pyenv init - | source
set -x PIPX_DEFAULT_PYTHON "$HOME/.pyenv/shims/python"
# cargo
fish_add_path "$HOME/.cargo/bin"
# deno
@ -26,9 +20,9 @@ fish_add_path "$HOME/.deno/bin"
set -x PNPM_HOME "$HOME/Library/pnpm"
# disable telemetry
set -x NEXT_TELEMETRY_DISABLED 1 # Next.js
set -x CHECKPOINT_DISABLE 1 # Prisma
set -x DISABLE_TELEMETRY YES # diffusers
set -x NEXT_TELEMETRY_DISABLED 1 # Next.js
set -x CHECKPOINT_DISABLE 1 # Prisma
set -x DISABLE_TELEMETRY YES # diffusers
# direnv
set -x DIRENV_LOG_FORMAT ""

View file

@ -11,12 +11,6 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
# fnm shell env
eval "$(fnm env --use-on-cd)"
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv > /dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
export PIPX_DEFAULT_PYTHON="$HOME/.pyenv/shims/python"
# deno
export PATH="$HOME/.deno/bin:$PATH"