From c227233571b2c7fa6ca0df77758d91ec8aec3942 Mon Sep 17 00:00:00 2001 From: Peter Ammon Date: Sun, 29 Sep 2024 18:13:36 -0700 Subject: [PATCH] fish_apropos: use realpath instead of readlink readlink -f is not supported on macOS Big Sur (from 2020). --- share/functions/__fish_apropos.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_apropos.fish b/share/functions/__fish_apropos.fish index 21026adc6..d665f8063 100644 --- a/share/functions/__fish_apropos.fish +++ b/share/functions/__fish_apropos.fish @@ -40,7 +40,7 @@ if test $status -eq 0 -a (count $sysver) -eq 3 if test $age -ge $max_age test -d "$dir" || mkdir -m 700 -p $dir - /usr/libexec/makewhatis -o "$whatis" (/usr/bin/manpath | string split : | xargs readlink -f) >/dev/null 2>&1 /dev/null 2>&1