X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=doc%2Fgrmlzshrc.t2t;h=f939765820f71b5fb09411ede2978bcbb5433456;hb=349659e8b2dfc055f3a1e52961a728d3ea11643b;hp=0f83c7b513ba1cf8a6590dc403791be3605c75f4;hpb=537471e8a1d5e1c6c7d1e78fc0c4f8fe01591427;p=grml-etc-core.git diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 0f83c7b..f939765 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -298,9 +298,6 @@ available via the usual history lookup widgets. //grmlzshrc// sets some environment variables, which influence the behaviour of applications. -: **BROWSER** -If X is running this is set to "firefox", otherwise to "w3m". - : **COLORTERM** Set to "yes". Some applications read this to learn about properties of the terminal they are running in. @@ -424,9 +421,18 @@ Deletes a word left of the cursor; seeing '/' as additional word separator. : **CTRL-x-1** Jump right after the first word. +: **CTRL-x-M()** +Create directory under cursor or the selected area. +To select an area press ctrl-@ and use the cursor. +Use case: you type "mv abc ~/testa/testb/testc/" and remember that the +directory does not exist yet -> press **CTRL-xM** and problem solved. + : **CTRL-x-p** Searches the last occurence of string before the cursor in the command history. +: **CTRL-x-z** +Display help on keybindings and zsh line editor. Press consecutively to page through content. + : **CTRL-z** Brings a job, which got suspended with CTRL-z back to foreground. @@ -439,11 +445,6 @@ 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. @@ -496,11 +497,6 @@ Simple backup of a file or directory using cp(1). The target file name is the original name plus a time stamp attached. Symlinks and file attributes like mode, ownership and timestamps are preserved. -: **brltty()** -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 @@ -511,6 +507,10 @@ 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 cdrecord. +: **cdt()** +Creates a temporary directory using mktemp. Then changes current +working directory to it. + : **changed()** Lists files in current directory, which have been changed within the last N days. N is an integer to be passed as first and only argument. @@ -911,10 +911,6 @@ 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. - : **trans()** Translates a word from german to english (-D) or vice versa (-E). @@ -1253,6 +1249,9 @@ Short rmdir(1) (remove directory). : **rm** (//nocorrect rm//) rm(1) without spelling correction. +: **rmcdir** (//'cd ..; rmdir $OLDPWD || cd $OLDPWD//) +rmdir current working directory + : **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