From eff2aa1d0d48be73add162ffce254e2ddf676389 Mon Sep 17 00:00:00 2001 From: Joerg Woelke Date: Thu, 20 Aug 2009 17:09:01 +0200 Subject: [PATCH] grmlzshrc.t2t: Some more descriptions of functions. cl, greph, mcd, shtar, viless. --- doc/grmlzshrc.t2t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index f26c333..2614e72 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -243,18 +243,32 @@ user's life. Converts plaintext files to HTML using vim. The output is written to .html. +: **cl()** +Changes current directory to the one supplied by argument and lists the files +in it, including file names starting with ".". + : **doc()** Takes packagename as argument. Sets current working directory to /usr/share/doc/ and prints out a directory listing. +: **greph()** +Searches the zsh command history for a regular expression. + : **hex()** Prints the hexadecimal representation of the number supplied as argument (base ten only). +: **mcd()** +Creates directory including parent directories, if necessary. Then changes +current working directory to it. + : **readme()** Opens all README-like files in current working directory with the program defined in the $PAGER environment variable. +: **shtar()** +Lists the content of a gzipped tar archive in default pager. + : **startx()** Initializes an X session using startx(1) if /etc/X11/xorg.conf exists, else issues a Warning to use the grml-x(1) script. Can be overridden by using @@ -264,6 +278,9 @@ issues a Warning to use the grml-x(1) script. Can be overridden by using Takes a string as its first argument and prints it RFC 2396 URL encoded to standard out. +: **viless()** +Vim as pager. + : **xinit()** Initializes an X session using xinit(1) if /etc/X11/xorg.conf exists, else issues a Warning to use the grml-x(1) script. Can be overridden by using -- 2.1.4