On 12/01/2024 07:57, Marco Atzeri via Cygwin wrote:
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.
[...]
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
Andrew,
I have adjusted the dependencies for fish 3.6.4 and 3.7.0 in the package
repository on sourceware to add procps-ng.
If this is correct, please remember to make this adjustment in future
packages.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple