fish shell config issue starting 3.6.4 package

Marco Atzeri marco.atzeri@gmail.com
Fri Jan 12 07:57:26 GMT 2024


On 12/01/2024 08:17, Xavier Delaruelle via Cygwin wrote:
> Hello,
> 
> Since fish shell has been updated to 3.6.4 at the beginning of the year, I
> obtain a configuration error:
> 
>      fish: Unknown command: pgrep
>      /etc/fish/conf.d/01_fish_variables.fish (line 13):
>              pgrep fish | grep -v \^$fish_pid\$ | xargs -r kill
>              ^~~~^
>      from sourcing file /etc/fish/conf.d/01_fish_variables.fish
>          called on line 248 of file /usr/share/fish/config.fish
>      from sourcing file /usr/share/fish/config.fish
>          called during startup
> 
> It seems like default fish configuration relies on pgrep which is not found
> on Cygwin.
> 
> Same issue occurs also with 3.7.0.
> 
> Regards,
> Xavier
> 

Hi Xavier,
it seems a missing dependency

pgrep is part of procps-ng package

$ cygcheck -p bin/pgrep
Found 10 matches for bin/pgrep
busybox-1.23.2-1 - busybox: Tiny utilities in a single executable
busybox-1.36.1-1 - busybox: Tiny utilities in a single executable
...
procps-ng-4.0.2-2 - procps-ng: System and process monitoring utilities
procps-ng-4.0.3-1 - procps-ng: System and process monitoring utilities
procps-ng-4.0.4-1 - procps-ng: System and process monitoring utilities
procps-3.2.8-5 - procps: Obsoleted by procps-ng



More information about the Cygwin mailing list