From a88286a64ea7afa4e24f66fa2dc2bb45244cc2c1 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Thu, 11 Sep 2025 14:42:41 +0200 Subject: [PATCH] fix: feat: add Homebrew fish support + make fish greeting date BSD compatible :fish: --- nixos/fish.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/fish.nix b/nixos/fish.nix index b2f1354..eb78d78 100644 --- a/nixos/fish.nix +++ b/nixos/fish.nix @@ -9,7 +9,7 @@ }; interactiveShellInit = '' fish_vi_key_bindings - set fish_greeting 🐟: (set_color yellow; date +%T; set_color green; date --iso-8601; set_color normal) + set fish_greeting 🐟: (set_color yellow; date +%T; set_color green; date --iso-8601 2>/dev/null; or date +%F; set_color normal) # name: Default # author: Lily Ballard @@ -54,6 +54,12 @@ end ''; + + shellInit = '' + if test -d /opt/homebrew/bin + fish_add_path -g /opt/homebrew/bin /opt/homebrew/sbin + end + ''; }; programs.bash = {