diff options
Diffstat (limited to 'share')
| -rw-r--r-- | share/cfg/fish.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/share/cfg/fish.nix b/share/cfg/fish.nix index ced92c1..8615268 100644 --- a/share/cfg/fish.nix +++ b/share/cfg/fish.nix @@ -1,10 +1,16 @@ -{ ... }: +{ pkgs, ... }: { - 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"; + 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 + ''; }; } |
