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 = ''
|
interactiveShellInit = ''
|
||||||
fish_vi_key_bindings
|
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
|
# name: Default
|
||||||
# author: Lily Ballard
|
# author: Lily Ballard
|
||||||
|
|
@ -54,6 +54,12 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
shellInit = ''
|
||||||
|
if test -d /opt/homebrew/bin
|
||||||
|
fish_add_path -g /opt/homebrew/bin /opt/homebrew/sbin
|
||||||
|
end
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue