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

refactor: use home.sessionVariables

This commit is contained in:
Ryan Cao 2023-08-30 23:45:26 +08:00
parent e4672c464a
commit 3a7c130767
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
6 changed files with 14 additions and 31 deletions

View file

@ -2,15 +2,9 @@
set -x SSH_AUTH_SOCK "$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
# Homebrew shell
set -x HOMEBREW_NO_ANALYTICS 1
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
# fnm shell env
set -gx FNM_RESOLVE_ENGINES true
set -gx FNM_COREPACK_ENABLED true
fnm env --use-on-cd | source
# cargo
@ -21,11 +15,6 @@ fish_add_path "$HOME/.deno/bin"
# pnpm
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
# direnv
set -x DIRENV_LOG_FORMAT ""