functions/man: allow "man !"

Analogous to the "! -h" code path.
This commit is contained in:
Johannes Altmanninger
2025-08-29 11:40:42 +02:00
parent c1f6e0c03e
commit 35733a0f8d

View File

@@ -44,6 +44,8 @@ function man --description "Format and display the on-line manual pages"
# isn't guaranteed to be allowed.
# So we override them with the good name.
switch $argv
case !
set argv not
case :
set argv true
case '['