fix: feat: add Homebrew fish support + make fish greeting date BSD compatible 🐟
This commit is contained in:
parent
bf76b59f3c
commit
a88286a64e
1 changed files with 7 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue