mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
lsd: add support for fish abbreviations
This commit is contained in:
parent
f69e61a2d7
commit
0d118885b2
1 changed files with 9 additions and 1 deletions
|
@ -74,7 +74,15 @@ in {
|
||||||
|
|
||||||
programs.zsh.shellAliases = mkIf cfg.enableAliases aliases;
|
programs.zsh.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.lsd =
|
programs.lsd =
|
||||||
mkIf (cfg.colors != { }) { settings.color.theme = "custom"; };
|
mkIf (cfg.colors != { }) { settings.color.theme = "custom"; };
|
||||||
|
|
Loading…
Reference in a new issue