Skip to content

Tip #5: run-help

Zufälligerweise stiess ich gerade auf ein nettes Feature, welches mir bis dato unbekannt war: run-help.

In der Standardkonfiguration ist run-help einfach ein Alias auf man und macht nichts anderes als die Manpage des Arguments aufzurufen. Doch man kann das schnell ein wenig intelligenter machen:

unalias run-help
autoload run-help

Der alleinige Aufruf von run-help bringt nun:

kubijens@ppc210:~/ > run-help   
Here is a list of topics for which special help is available:

alias          compvalues     getln          rehash         unlimit
autoload       continue       getopts        return         unset
[...]

Wenn ihr das mit einem Argument aufruft, navigiert euch run-help an die jeweilige Stelle der zsh-Manpage. Das Kommando hat sich bei mir schnell als äußerst nützlich herausgestellt.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
BBCode format allowed
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Form options
cronjob