1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01:00

eza: add support for fish abbreviations

This commit is contained in:
Heitor Augusto 2024-09-10 13:57:24 -03:00 committed by Robert Helgesson
parent 076c78eded
commit 503af483e1
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -91,8 +91,17 @@ with lib;
programs.zsh.shellAliases = optionsAlias programs.zsh.shellAliases = optionsAlias
// optionalAttrs cfg.enableZshIntegration aliases; // optionalAttrs cfg.enableZshIntegration aliases;
programs.fish.shellAliases = optionsAlias programs.fish = mkMerge [
(mkIf (!config.programs.fish.preferAbbrs) {
shellAliases = optionsAlias
// optionalAttrs cfg.enableFishIntegration aliases; // optionalAttrs cfg.enableFishIntegration aliases;
})
(mkIf config.programs.fish.preferAbbrs {
shellAliases = optionsAlias;
shellAbbrs = optionalAttrs cfg.enableFishIntegration aliases;
})
];
programs.ion.shellAliases = optionsAlias programs.ion.shellAliases = optionsAlias
// optionalAttrs cfg.enableIonIntegration aliases; // optionalAttrs cfg.enableIonIntegration aliases;