Use fish-friendly brew shellenv

work
mat ess 2023-08-22 21:42:47 -04:00
parent be5c031895
commit debb0dfea7
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ let
caskPresent = cask: lib.any (x: x.name == cask) config.homebrew.casks; caskPresent = cask: lib.any (x: x.name == cask) config.homebrew.casks;
in { in {
environment.shellInit = '' environment.shellInit = ''
eval "$(${config.homebrew.brewPrefix}/brew shellenv)" eval "$(${config.homebrew.brewPrefix}/brew shellenv fish)"
''; '';
# https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish # https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish