termux-packages/packages/fish/share-functions-__fish_prin...

20 lines
925 B
Diff
Raw Normal View History

--- ./share/functions/__fish_print_help.fish 2017-02-03 07:16:58.000000000 +0530
+++ ../__fish_print_help.fish 2017-02-12 11:36:23.477232262 +0530
@@ -41,7 +41,7 @@
end
set -lx GROFF_TMAC_PATH $__fish_datadir/groff
2016-11-17 01:38:08 +01:00
if test -e "$__fish_datadir/man/man1/$item.1"
- set help (nroff -c -man -mfish -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null)
+ set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null))
2016-11-17 01:38:08 +01:00
else if test -e "$__fish_datadir/man/man1/$item.1.gz"
set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -c -man -mfish -t $rLL ^/dev/null)
2016-11-17 01:38:08 +01:00
end
@@ -99,6 +99,6 @@
# skip it
end
end
- end | ul # post-process with `ul`, to interpret the old-style grotty escapes
+ end # post-process with `ul`, to interpret the old-style grotty escapes
echo # print a trailing blank line
2015-07-16 23:56:40 +02:00
end