mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
fish: use global for abbr
Makes fish use global scope for abbreviations. This makes it so that they don't stick across config changes. Before, an abbreviation would still exist even if removed from the config.
This commit is contained in:
parent
4aa07c3547
commit
601619660d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
||||||
cfg = config.programs.fish;
|
cfg = config.programs.fish;
|
||||||
|
|
||||||
abbrsStr = concatStringsSep "\n" (
|
abbrsStr = concatStringsSep "\n" (
|
||||||
mapAttrsToList (k: v: "abbr --add ${k} '${v}'") cfg.shellAbbrs
|
mapAttrsToList (k: v: "abbr --add --global ${k} '${v}'") cfg.shellAbbrs
|
||||||
);
|
);
|
||||||
|
|
||||||
aliasesStr = concatStringsSep "\n" (
|
aliasesStr = concatStringsSep "\n" (
|
||||||
|
|
Loading…
Reference in a new issue