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 = {