Reading some of the comments to this list recently, I've been thinking about 
how to make getting help for fish more easy and convenient to users who like to 
stay on the command line, for example using man instead of a web browser.

What about creating a man page with a name like fish-commands that is the 
equivalent of commands.html but in man page format.  The content already exists 
in my installation (Debian package) of fish but split into separate man pages 
for each command.  I think it would be extremely useful to have all the 
commands in one document in man format.

I am proposing *adding* this man page to what already exists, not removing or 
replacing anything.


For those who want this kind of functionality now, the following two functions 
will do it:

function html2txt
        elinks -dump -no-numbering -no-references $argv
end

function view-help
        if set -q BROWSER
                set -l SAVE_BROWSER $BROWSER
                set -x BROWSER html2txt
                help $argv
                set BROWSER $SAVE_BROWSER
        else
                set -gx BROWSER html2txt
                help $argv
                set -e BROWSER
        end
end

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to