zshrc: alias lsnewdir/lsolddir shows newest/oldest created 20 directories (10 .dirs)
[grml-etc-core.git] / doc / grmlzshrc.t2t
index 0f83c7b..f900a43 100644 (file)
@@ -424,9 +424,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 +448,6 @@ user's life.
 Converts plaintext files to HTML using vim. The output is written to
 <filename>.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 +500,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 +510,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 +914,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).
 
@@ -1209,9 +1208,15 @@ Lists symbolic links in current directory.
 : **lsnew** (//ls -rl *(D.om[1,10])//)
 Displays the ten newest files (long output format).
 
+: **lsnewdir** (//ls -rthdl *(/om[1,10]) .*(D/om[1,10])//)
+Displays the ten newest directories and ten newest .directories.
+
 : **lsold** (//ls -rtlh *(D.om[1,10])//)
 Displays the ten oldest files (long output format).
 
+: **lsolddir** (//ls -rthdl *(/Om[1,10]) .*(D/Om[1,10])//)
+Displays the ten oldest directories and ten oldest .directories.
+
 : **lss** (//ls -l *(s,S,t)//)
 Lists files in current directory that have the setuid, setgid or sticky bit
 set.