1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00
flake/home/programs/fish/conf.d/01_basic_env.fish
Ryan Cao da2644ae42
fix(fish): use set -p PATH instead of fish_add_path
The reasoning for this is that `fish_add_path` writes to a universal variable that is persisted independently of fish configuration files, and this can result in stale `fish_user_paths` entries when calls to `fish_add_path` are removed from the configuration. Using `set -p PATH` ensures that only the environment is written to.
2023-09-15 08:46:22 +08:00

6 lines
166 B
Fish

# ls
set -x LS_COLORS "$(vivid generate catppuccin-frappe)"
# nix path patches
set -p PATH /run/current-system/sw/bin
set -p PATH "/etc/profiles/per-user/$USER/bin"