mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
pls: add support for fish abbreviations
This commit is contained in:
parent
7edf6ccaec
commit
f69e61a2d7
1 changed files with 9 additions and 1 deletions
|
@ -28,7 +28,15 @@ in {
|
||||||
|
|
||||||
programs.bash.shellAliases = mkIf cfg.enableAliases aliases;
|
programs.bash.shellAliases = mkIf cfg.enableAliases aliases;
|
||||||
|
|
||||||
programs.fish.shellAliases = mkIf cfg.enableAliases aliases;
|
programs.fish = mkMerge [
|
||||||
|
(mkIf (!config.programs.fish.preferAbbrs) {
|
||||||
|
shellAliases = mkIf cfg.enableAliases aliases;
|
||||||
|
})
|
||||||
|
|
||||||
|
(mkIf config.programs.fish.preferAbbrs {
|
||||||
|
shellAbbrs = mkIf cfg.enableAliases aliases;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
programs.zsh.shellAliases = mkIf cfg.enableAliases aliases;
|
programs.zsh.shellAliases = mkIf cfg.enableAliases aliases;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue