From e98c9417f2a5471e9ab97127fd0580fee31af62d Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Fri, 31 Jan 2025 12:45:55 +0100 Subject: fish: add fastfetch --- share/cfg/fish.nix | 18 ++++++++++++------ 1 file 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 + ''; }; } -- cgit v1.3.1