mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 12:33:28 +08:00

The less -F / --quit-if-one-screen option is buggy before v530. To work around this, pass --no-init less versions older than 530. The --no-init option was previously passed; it was removed in d15a51897d for mouse support. Unfortunately it looks like we can't have mouse support and --quit-if-one-screen on macOS shipped less (version 487). It's worth fixing this because otherwise history and help is just not printed on stock macOS. Relevant is https://unix.stackexchange.com/questions/107315/less-quit-if-one-screen-without-no-init Fixes #8157.