X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=doc%2Fgrmlzshrc.t2t;h=ac714051deae95ac10d2ee144028177dc5f0bf9c;hb=282936240b1f57435248753f00a20595ec8157bb;hp=384078fdf5c38af273651d833358a25d38fd0462;hpb=10faaeccfa8a09eb6750a2a43dbcc7d06211fe6c;p=grml-etc-core.git diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 384078f..ac71405 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -58,6 +58,13 @@ and defaults to "/usr/share/command-not-found/command-not-found". Set this to zero to remove items in zsh config, which do not work in grml-small. +: **HISTFILE** +Where zsh saves the history. Default: ${HOME}/.zsh_history. + +: **HISTSIZE** +Number of commands to be kept in the history. On a grml-CD this defaults to +500, on a hard disk installation to 5000. + : **MAILCHECK** Sets the frequency in seconds for zsh to check for new mail. Defaults to 30. A value of zero turns off checking. @@ -77,6 +84,14 @@ that are run before every command (setting xterm/screen titles etc.). Show time (user, system and cpu) used by external commands, if they run longer than the defined number of seconds (default: 5). +: **SAVEHIST** +Number of commands to be stored in ${HISTFILE}. Defaults to 1000 on a grml-CD +and to 10000 on an installation on hard disk. + +: **watch** +As in tcsh(1) an array of login/logout events to be reported by the shell +builtin "log". For details see zshparam(1). Defaults to (notme root). + : **ZSH_NO_DEFAULT_LOCALE** Import "/etc/default/locale", if set to zero (default). @@ -285,6 +300,10 @@ of the terminal they are running in. If not already set, sets the default editor. Falls back to vi(1), if vim(1) is not available. +: **LESS_TERMCAP_*** +Some environment variables that add colour support to less(1) for viewing +man pages. See termcap(5) for details. + : **MAIL** The mailbox file for the current user is set to /var/mail/$USER, if not already set otherwise. @@ -532,22 +551,6 @@ thumbnails as clickable links to the respective original file. //Warning:// On start genthumbs() silently removes a possibly existing "index.html" and all files and/or directories beginning with "thumb-" in current directory! -: **getair()** -Tries to download, unpack and run AIR (imaging software) version 1.2.8. - -: **getgizmo()** -Tries to download and install Gizmo (VoIP software) for Debian. - -: **getskype()** -Tries to download and install Skype (VoIP software) for Debian. - -: **getskypebeta()** -Downloads and installs newer version of Skype. - -: **getxlite()** -Tries to download and unpack X-lite (VoIP software) from counterpath.com into -~/tmp. - : **greph()** Searches the zsh command history for a regular expression. @@ -555,6 +558,13 @@ Searches the zsh command history for a regular expression. Prints the hexadecimal representation of the number supplied as argument (base ten only). +: **hgdi()** +Use GNU diff with options -ubwd for mercurial. + +: **hgstat()** +Displays diffstat between the revision given as argument and tip (no +argument means last revision). + : **hidiff()** Outputs highlighted diff; needs highstring(1). @@ -792,6 +802,17 @@ line options, she always wants, in her .zshrc.local. : **vman()** Use vim(1) as manpage reader. +: **whatwhen()** +Searches the history for a given pattern and lists the results by date. +The first argument is the search pattern. The second and third ones are +optional and denote a search range (default: -100). + +: **weather()** +Retrieves and prints weather information from "http://weather.noaa.gov". +The first and only argument is the ICAO code for the desired station. +For a list of ICAO codes see +"http://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code". + : **xcat()** Tries to cat(1) file(s) given as parameter(s). Always returns true. See also xunfunction() below. @@ -937,6 +958,9 @@ Scans for new devices and updates /etc/fstab according to the findings. : **grml-version** (//cat /etc/grml_version//) Prints version of running grml. +: **hbp** (//hg-buildpackage//) +Helper program to maintain Debian packages with mercurial. + : **http** (//python -m SimpleHTTPServer//) Basic HTTP server implemented in python. Listens on port 8000/tcp and serves current directory. Implements GET and HEAD methods. @@ -1035,6 +1059,9 @@ Sets medium sized font ("-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-15") in xterm using escape sequence. +: **mq** (//hg -R $(readlink -f $(hg root)/.hg/patches)//) +Executes the commands on the versioned patch queue from current repository. + : **screen** (///usr/bin/screen -c ${HOME}/.screenrc//) If invoking user is root, starts screen session with /etc/grml/screenrc as config file. If invoked by a regular user, start a screen session