From: Michael Prokop Date: Thu, 18 Jan 2007 12:09:16 +0000 (+0100) Subject: /etc/zsh/zshrc: add completion for qma (thanks, wuehlmaus) X-Git-Tag: 0.2.18~2 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=c1f2dec91f1d93d184832a008ad5e4a93f6eb022 /etc/zsh/zshrc: add completion for qma (thanks, wuehlmaus) --- diff --git a/debian/changelog b/debian/changelog index 1988bc4..51c1744 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-etc-core (0.2.16) unstable; urgency=low + + * /etc/zsh/zshrc: + - add completion for qma (thanks, wuehlmaus) + + -- Michael Prokop Thu, 18 Jan 2007 13:08:54 +0100 + grml-etc-core (0.2.15) unstable; urgency=low * /etc/zsh/zshrc: diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index fbefb58..bf6d7fb 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Jän 05 19:35:27 CET 2007 [mika] +# Latest change: Son Jän 14 10:57:03 CET 2007 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -564,7 +564,7 @@ ${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# " # I like clean prompt, so provide simple way to get that alias 0 &>/dev/null || functions 0 &>/dev/null || alias 0='return 0' -# truecrypt; use e.g. via 'truec /dev/ice' /mnt/ice' or 'truec -i' +# truecrypt; use e.g. via 'truec /dev/ice /mnt/ice' or 'truec -i' if [ -x /usr/sbin/truecrypt ] ; then if isutfenv ; then alias truec='truecrypt --mount-options "rw,sync,dirsync,users,uid=1000,gid=users,umask=077,utf8" ' @@ -926,6 +926,7 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." # fast manual access if type -p qma &>/dev/null ; then manzsh() { qma zshall "$1" } + compdef _man qma else manzsh() { /usr/bin/man zshall | vim -c "se ft=man| se hlsearch" +/"$1" - ; } # manzsh() { /usr/bin/man zshall | most +/"$1" ; }