X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=doc%2Fgrmlzshrc.t2t;h=a2bc5b84342400b98a3a27cadbc7ac02941122ed;hb=a9a0a823c8c0c5c297afa7c4307adf9cf4644628;hp=384078fdf5c38af273651d833358a25d38fd0462;hpb=10faaeccfa8a09eb6750a2a43dbcc7d06211fe6c;p=grml-etc-core.git diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 384078f..a2bc5b8 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. @@ -430,10 +449,16 @@ Sets all ulimit values to "unlimited". Prints a colored table of available ansi color codes (to be used in escape sequences) and the colors they represent. +: **any()** +Lists processes matching given pattern. + : **aoeu(), asdf(), uiae()** Pressing the 'asdf' keys toggles between dvorak or neon and us keyboard layout. +: **apache2-ssl-certificate()** +Advices the user how to create self signed certificates. + : **asc()** Login on the host provided as argument using autossh. Then reattach a GNU screen session if a detached session is around or detach a currently attached screen or @@ -462,6 +487,11 @@ The brltty(1) program provides a braille display, so a blind person can access the console screen. This wrapper function works around problems with some environments (f. e. utf8). +: **cdiff()** +Runs a recursive diff(1) over two given directories trying to find the +smallest set of changes. Three lines of context will be printed and binary +files filtered out. + : **cdrecord()** If the original cdrecord is not installed, issues a warning to the user to use the wodim binary instead. Wodim is the debian fork of Joerg Schillings @@ -485,10 +515,32 @@ grml systems with autologin. Changes current directory to the one supplied by argument and lists the files in it, including file names starting with ".". +: **cvsa()** +Adds and commits the given files using cvs(1). The commit message will be +'initial checkin'. + +: **cvsd()** +Shows a cvs diff of the arguments in $PAGER. + +: **cvsl()** +Shows the cvs log in $PAGER. + +: **cvsq()** +Runs a cvs update. + +: **cvsr()** +Generates a changelog using rcs2log and shows it in $PAGER. + +: **cvss()** +Shows cvs status of given files. + : **d()** Presents a numbered listing of the directory stack. Then changes current working directory to the one chosen by the user. +: **dchange()** +Shows the changelog of given package in $PAGER. + : **debbug()** Searches the Debian bug tracking system (bugs.debian.org) for Bug numbers, email addresses of submitters or any string given on the command line. @@ -500,6 +552,11 @@ Shows bug report for debian given by number in mailbox format. Tells the user to use grml-debootstrap, if she wants to install debian to harddisk. +: **deswap()** +A trick from $LINUX-KERNELSOURCE/Documentation/power/swsusp.txt. It brings +back interactive responsiveness after suspend, when the system is swapping +heavily. + : **dirspace()** Shows the disk usage of the directories given in human readable format; defaults to $path. @@ -507,10 +564,31 @@ defaults to $path. : **disassemble()** Translates C source code to assembly and ouputs both. +: **dmoz()** +Searches for the first argument (optional) in the Open Directory Project +(See http://www.dmoz.org/docs/en/about.html). + +: **dnews()** +Shows the NEWS file for the given package in $PAGER. + : **doc()** Takes packagename as argument. Sets current working directory to /usr/share/doc/ and prints out a directory listing. +: **dwicti()** +Looks up the first argument (optional) in the german Wiktionary +which is an online dictionary (See: http://de.wiktionary.org/). + +: **edalias()** +Edit given alias. + +: **edfunc()** +Edit given shell function. + +: **ewicti()** +Looks up the first argument (optional in the english Wiktionary +which is an online dictionary (See: http://en.wiktionary.org/). + : **exirename()** Renames image files based on date/time informations in their exif headers. @@ -524,6 +602,9 @@ Switches the key combinations for changing current workspace under fluxbox(1) from Alt-[0-9] to Alt-F[0-9] and vice versa by rewriting $HOME/.fluxbox/keys. Requires the window manager to reread configuration to take effect. +: **freload()** +Reloads an autoloadable shell function (See autoload in zshbuiltins(1)). + : **genthumbs()** A simple thumbnails generator. Resizes images (i. e. files that end in ".jpg", ".jpeg", ".gif" or ".png") to 100x200. Output files are named "thumb-