diff options
Diffstat (limited to 'home-manager/homeModules/fish.nix')
| -rw-r--r-- | home-manager/homeModules/fish.nix | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/home-manager/homeModules/fish.nix b/home-manager/homeModules/fish.nix index 7591383..b539e84 100644 --- a/home-manager/homeModules/fish.nix +++ b/home-manager/homeModules/fish.nix @@ -1,6 +1,9 @@ -{ pkgs, config, lib, ... }: - { + pkgs, + config, + lib, + ... +}: { options = { fish.enable = lib.mkEnableOption "enable fish"; }; @@ -9,18 +12,26 @@ enable = true; nix-direnv.enable = true; }; - + + programs.nix-index.enableFishIntegration = true; + programs.fish = { enable = true; plugins = [ - { name = "pure"; src = pkgs.fishPlugins.pure.src; } - { name = "autopair"; src = pkgs.fishPlugins.autopair.src; } + { + name = "pure"; + src = pkgs.fishPlugins.pure.src; + } + { + name = "autopair"; + src = pkgs.fishPlugins.autopair.src; + } ]; interactiveShellInit = '' - set fish_greeting - pokemon-colorscripts -r --no-title - ''; - + set fish_greeting + pokemon-colorscripts -r --no-title + ''; + shellAliases = { ls = "ls --hyperlink=auto --color=auto"; }; |
