aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <mbastaja@sorre.xyz>2025-01-31 12:45:55 +0100
committerMiran Bastaja <mbastaja@sorre.xyz>2025-01-31 12:46:12 +0100
commite98c9417f2a5471e9ab97127fd0580fee31af62d (patch)
treee2f0e687d9d31a94da027260a1bd69e88e39ce96
parent63119a4dd656d1dedf9b519b8273423ef5abc36f (diff)
fish: add fastfetch
-rw-r--r--share/cfg/fish.nix18
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
+ '';
};
}