mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
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.
This commit is contained in:
parent
eb4cb1c367
commit
da2644ae42
5 changed files with 23 additions and 25 deletions
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
config,
|
||||
ctpModule,
|
||||
amDiscordModule,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
imports = [
|
||||
ctpModule
|
||||
amDiscordModule
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
inputs.am.homeManagerModules.default
|
||||
|
||||
./variables.nix
|
||||
./fonts.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue