X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=doc%2Fgrmlzshrc.t2t;h=1398a7a2bc6ef2f016f8b83cab35919534e1c080;hb=19cfd450e9e597d7aa1483a96a0d5c717047830e;hp=a0c46ca122fda7ad457ec61281f016db6ccdb65c;hpb=8a9f7ccf262b8f4e4877f4af6188c21a16d90636;p=grml-etc-core.git diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index a0c46ca..1398a7a 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -26,10 +26,7 @@ features are enabled in every version). //grmlzshrc// behaves differently depending on which user loads it. For the root user (**EUID** == 0) only a subset of features is loaded by default. This behaviour can be altered by setting the **GRML_ALWAYS_LOAD_ALL** STARTUP -VARIABLE (see below). Also the umask(1) for the root user is set to 022, -while for regular users it is set to 002. So read/write permissions -for the regular user and her group are set for new files (keep that -in mind on systems, where regular users share a common group). +VARIABLE (see below). = STARTUP VARIABLES = Some of the behaviour of //grmlzshrc// can be altered by setting certain shell @@ -430,6 +427,11 @@ user's life. Converts plaintext files to HTML using vim. The output is written to .html. +: **2mp3_192()** +Useful if you own players lacking ogg/flac support. +Takes a list of "*.ogg" and "*.flac" files and transcodes them to mp3 +with a variable bitrate of at least 192, while preserving basic id3 tags. + : **855resolution()** If 915resolution is available, issues a warning to the user to run it instead to modify the resolution on intel graphics chipsets. @@ -487,6 +489,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 @@ -510,9 +517,24 @@ grml systems with autologin. Changes current directory to the one supplied by argument and lists the files in it, including file names starting with ".". -: **d()** -Presents a numbered listing of the directory stack. Then changes current -working directory to the one chosen by the user. +: **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. : **dchange()** Shows the changelog of given package in $PAGER. @@ -592,6 +614,9 @@ and all files and/or directories beginning with "thumb-" in current directory! : **get_tw_cli()** Fetches 3ware RAID controller software using get_3ware(1). +: **gex()** +Performs an exact (i. e. quoted) web search using Google. + : **ggogle()** Searches the arguments on Google Groups, a web to USENET gateway. @@ -679,6 +704,9 @@ directory. Prints specified range of (numbered) lines of a file. Usage: linenr [,] +: **lsdisk()** +Uses udev's /dev/disk to list block devices with their LABEL, UUID and IDs. + : **makereadable()** Creates a PostScript and a PDF file (basename as first argument) from source code files. @@ -731,6 +759,9 @@ Lists files in current directory, which have been modified within the last N days. N is an integer to be passed as first and only argument. If no argument is specified N is set to 1. +: **netcraft()** +Asks netcraft.com for informations about the site given as argument. + : **nt()** A helper function for the "e" glob qualifier to list all files newer than a reference file. @@ -743,8 +774,9 @@ Example usages: % ls -l *(e:'nt /reference/file':) ``` -: **ogg2mp3_192()** -Recodes an ogg file to mp3 with a bitrate of 192. +: **oleo()** +Translates the given word using the english - german online +dictionary dict.leo.org. : **peval()** Evaluates a perl expression; useful as command line @@ -846,14 +878,12 @@ Example usage: % Restart ssh ``` -: **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 -/usr/bin/startx directly. - : **status()** Shows some information about current system status. +: **swiki()** +Searches articles in the german Wikipedia for the term given as argument. + : **swspeak()** Sets up software synthesizer by calling swspeak-setup(8). Kernel boot option swspeak must be set for this to work. @@ -906,15 +936,21 @@ 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". +: **wikide()** +Looks up the argument on Wikipedia (german). + +: **wikien()** +Looks up the argument on Wikipedia (english). + +: **wodeb()** +Searches the list of official debian packages for the term given as +first argument. The optional second argument denotes the distribution +(stable, testing or unstable) and defaults to unstable. + : **xcat()** Tries to cat(1) file(s) given as parameter(s). Always returns true. See also xunfunction() below. -: **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 -/usr/bin/xinit directly. - : **xsource()** Tries to source the file(s) given as parameter(s). Always returns true. See zshbuiltins(1) for a detailed description of the source command.