diff options
| author | Miran Bastaja <mbastaja@sorre.xyz> | 2025-01-31 12:45:55 +0100 |
|---|---|---|
| committer | Miran Bastaja <mbastaja@sorre.xyz> | 2025-01-31 12:46:12 +0100 |
| commit | e98c9417f2a5471e9ab97127fd0580fee31af62d (patch) | |
| tree | e2f0e687d9d31a94da027260a1bd69e88e39ce96 /share/cfg | |
| parent | 63119a4dd656d1dedf9b519b8273423ef5abc36f (diff) | |
fish: add fastfetch
Diffstat (limited to 'share/cfg')
| -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 + ''; }; } |
