and /etc/skel/.zshrc which is copied to \$HOME/.zshrc once.
The files are part of the package grml-etc-core, if you want to
use them on a non-grml-system just get the tar.gz from
-http://grml.org/repos/ or get the files from the mercurial
+http://deb.grml.org/ or get the files from the mercurial
repository:
http://hg.grml.org/grml-etc-core/raw-file/tip/etc/skel/.zshrc
zstyle ':completion:*:history-words' menu yes # activate menu
zstyle ':completion:*:history-words' remove-all-dups yes # ignore duplicate entries
zstyle ':completion:*:history-words' stop yes #
- zstyle ':completion:*:*:linda:*' file-patterns '*.deb' # complete debian packages for command 'linda'
- zstyle ':completion:*:*:lintian:*' file-patterns '*.deb' # complete debian packages for command 'lintian'
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' # match uppercase from lowercase
zstyle ':completion:*:matches' group 'yes' # separate matches into groups
zstyle ':completion:*' group-name ''
# shell functions {{{
setenv() { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" } # csh compatibility
freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done }
- manzsh() { /usr/bin/man zshall | vim -c "se ft=man| se hlsearch" +/"$1" - ; }
-# manzsh() { /usr/bin/man zshall | most +/"$1" ; }
-# manzsh() { man zshall | $MYLESS -p $1 ; }
+
+ # fast manual access
+ if type -p qma &>/dev/null ; then
+ manzsh() { qma zshall "$1" }
+ else
+ manzsh() { /usr/bin/man zshall | vim -c "se ft=man| se hlsearch" +/"$1" - ; }
+ # manzsh() { /usr/bin/man zshall | most +/"$1" ; }
+ # manzsh() { man zshall | $MYLESS -p $1 ; }
+ fi
# use "dchange <package-name>" to view Debian's changelog of the package:
dchange() {
}
alias help-zshglob=H-Glob
- type -p fma &>/dev/null && alias ?='fma zshall'
+ type -p qma &>/dev/null && alias ?='qma zshall'
# grep for running process, like: 'any vim'
any() {