From 0e03c73ac430c20ef17e3102721eb487775e3cc9 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 17 Nov 2024 17:00:54 -0800 Subject: [PATCH] feat(home): Fish greeting --- modules/home/programs/fish/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/home/programs/fish/default.nix b/modules/home/programs/fish/default.nix index 3cee1f1..3125758 100644 --- a/modules/home/programs/fish/default.nix +++ b/modules/home/programs/fish/default.nix @@ -19,6 +19,10 @@ in # general babelfish + # for fish_greeting() + marleyos.figlet-xero-fonts + lolcat + # for extract() gnutar bzip2 @@ -29,8 +33,6 @@ in unrar-free ]; - # TODO: Set the greeting to `figlet -f Elite marleyOS` - programs.fish = { enable = true; @@ -71,6 +73,12 @@ in }; functions = { + fish_greeting = # fish + '' + echo "" + figlet -f Elite " marleyOS" | lolcat + ''; + extract = { argumentNames = "file"; body = # fish