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:
parent
e4672c464a
commit
3a7c130767
6 changed files with 14 additions and 31 deletions
|
|
@ -1,8 +1,4 @@
|
|||
# basic environment variables
|
||||
set -x LANG en_US.UTF-8
|
||||
set -x EDITOR hx
|
||||
set -x PAGER less
|
||||
set -x LESS -R
|
||||
# ls
|
||||
set -x LS_COLORS "$(vivid generate catppuccin-frappe)"
|
||||
|
||||
# nix path patches
|
||||
|
|
|
|||
|
|
@ -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 ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue