Skip to content

Commit

Permalink
zshrc: Remove qma
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent fe25fa0 commit a5d4d99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions doc/grmlzshrc.t2t
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
11 changes: 0 additions & 11 deletions etc/zsh/zshrc
Expand Up @@ -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})
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a5d4d99

Please sign in to comment.