From a5d4d9967bd7b0e8065becfed24e4b4abd3c88c8 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:49:49 +0100 Subject: [PATCH] zshrc: Remove qma Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 10 ---------- etc/zsh/zshrc | 11 ----------- 2 files changed, 21 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 78a2ab6..c0e1a15 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -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 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b7b2caf..d07e9b0 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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 -- 2.1.4