zshrc: Remove qma
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 29 Nov 2011 13:49:49 +0000 (14:49 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:47 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/zsh/zshrc

index 78a2ab6..c0e1a15 100644 (file)
@@ -576,10 +576,6 @@ environment variables to UTF-8.
 : **isutfenv()**
 Returns true, if run within an utf environment, else false.
 
-: **manzsh()**
-Shows the zshall manpage and jumps to the first match of the regular
-expression optionally given as argument (Needs qma(1)).
-
 : **mcd()**
 Creates directory including parent directories, if necessary. Then changes
 current working directory to it.
@@ -1049,12 +1045,6 @@ Reboots using kexec(8) and thus reduces boot time by skipping hardware initializ
 : **...** (//cd ../..///)
 Changes current directory two levels higher.
 
-: **?** (//qma zshall//)
-Runs the grml script qma (quick manual access) to build the collected man
-pages for the z-shell. This compressed file is kept at
-~/man/zshall.txt.lzo Once it is built, the second use of the alias '?' is
-fast. See "man qma" for further information.
-
 
 = AUXILIARY FILES =
 This is a set of files, that - if they exist - can be used to customize the
index b7b2caf..d07e9b0 100644 (file)
@@ -1897,15 +1897,6 @@ sll() {
     done
 }
 
-# fast manual access
-if check_com qma ; then
-    #f1# View the zsh manual
-    manzsh()  { qma zshall "$1" }
-    compdef _man qma
-else
-    manzsh()  { /usr/bin/man zshall |  vim -c "se ft=man| se hlsearch" +/"$1" - ; }
-fi
-
 # TODO: Is it supported to use pager settings like this?
 #   PAGER='less -Mr' - If so, the use of $PAGER here needs fixing
 # with respect to wordsplitting. (ie. ${=PAGER})
@@ -2188,8 +2179,6 @@ help-zle()
 #k# display help for keybindings and ZLE (cycle pages with consecutive use)
 zle -N help-zle && bindkey '^Xz' help-zle
 
-check_com -c qma && alias ?='qma zshall'
-
 # grep for running process, like: 'any vim'
 any() {
     emulate -L zsh