nix-config/modules/basic-tools/fish.nix

29 lines
487 B
Nix
Raw Normal View History

2025-01-26 01:39:08 +01:00
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
lsd
fzf
grc
fishPlugins.done
fishPlugins.fzf-fish
fishPlugins.tide
fishPlugins.grc
];
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
2025-01-26 17:59:15 +01:00
function fish_command_not_found
end
2025-01-26 01:39:08 +01:00
'';
shellAliases = {
ls = "lsd --icon=never";
l = "ls -l";
ll = "ls -la";
vim = "nvim";
grep = "grep --color=auto";
};
};
}