aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/fish.nix
blob: 861526803a76ca2988211757dc3c10e02a34f3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }:
{
  home.packages = [ pkgs.fastfetch ];
  programs.fish = {
    functions = {
      fish_command_not_found = "echo Did not find command $argv[1]";
      __fish_command_not_found_handler = {
        body = "fish_command_not_found";
        onEvent = "fish_command_not_found";
      };
    };
    interactiveShellInit = ''
      fastfetch
    '';
  };
}