aboutsummaryrefslogblamecommitdiff
path: root/users/programs/fish.nix
blob: e5a1013ae8cc8c5844d182f714e64ca710f7edde (plain) (tree)























                                                                         

    
{ ... }:
{
  programs.fish = {
    enable = true;
    interactiveShellInit = ''
      set fish_greeting ""

      fish_add_path -p ~/.cargo/bin/

      # Add utmctl to PATH
      fish_add_path /Applications/UTM.app/Contents/MacOS/
    '';
    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";

      g = "git";
      gap = "git add --patch";
    };
  };
}