aboutsummaryrefslogblamecommitdiff
path: root/home/programs/fish.nix
blob: 1e1ef36cb063344e6731c66d4d25672f9683c600 (plain) (tree)
1
2
3
4
5
6
              




                             








                                                                         
      
    



                                    
 
{ pkgs, ... }:
{
  programs.fish = {
    enable = true;
    interactiveShellInit = ''
      set fish_greeting ""
    '';
    shellAbbrs = {
      ncg = "nix-collect-garbage --delete-older-than 7d";
      ndc = "nix develop --command";
      nfc = "nix flake check";
      ngcroot = "ls -al /nix/var/nix/gcroots/auto/";
      nph = "nix profile history --profile /nix/var/nix/profiles/system";
      nsn = "nix search nixpkgs";
      nsv = "nix store verify --all";
    };
  };

  home.sessionVariables = {
    SHELL = "${pkgs.fish}/bin/fish";
  };
}