replace nushell with fish

This commit is contained in:
wi11-holdsworth 2025-08-07 13:39:40 +10:00
parent 04b7c2cc20
commit 8c0b6d86bf
4 changed files with 10 additions and 12 deletions

View file

@ -0,0 +1,30 @@
{ config, lib, ... }:
let
feature = "fish";
in
{
config = lib.mkIf config.${feature}.enable {
home.shell.enableFishIntegration = true;
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
'';
shellAliases = {
cat = "bat";
cd = "j";
g = "lazygit";
l = "eza";
la = "eza -a";
ls = "eza";
ns = "nh os switch";
vi = "nvim";
vim = "nvim";
};
};
};
imports = [ ];
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}