mirror of
https://github.com/nix-community/home-manager
synced 2024-11-22 12:43:14 +00:00
eza: add support for fish abbreviations
This commit is contained in:
parent
076c78eded
commit
503af483e1
1 changed files with 11 additions and 2 deletions
|
@ -91,8 +91,17 @@ with lib;
|
|||
programs.zsh.shellAliases = optionsAlias
|
||||
// optionalAttrs cfg.enableZshIntegration aliases;
|
||||
|
||||
programs.fish.shellAliases = optionsAlias
|
||||
// optionalAttrs cfg.enableFishIntegration aliases;
|
||||
programs.fish = mkMerge [
|
||||
(mkIf (!config.programs.fish.preferAbbrs) {
|
||||
shellAliases = optionsAlias
|
||||
// optionalAttrs cfg.enableFishIntegration aliases;
|
||||
})
|
||||
|
||||
(mkIf config.programs.fish.preferAbbrs {
|
||||
shellAliases = optionsAlias;
|
||||
shellAbbrs = optionalAttrs cfg.enableFishIntegration aliases;
|
||||
})
|
||||
];
|
||||
|
||||
programs.ion.shellAliases = optionsAlias
|
||||
// optionalAttrs cfg.enableIonIntegration aliases;
|
||||
|
|
Loading…
Reference in a new issue