From: Frank Terbeck Date: Mon, 28 Nov 2011 21:33:09 +0000 (+0100) Subject: zshrc: Move plap to skel/.zshrc X-Git-Tag: v0.5.0~63 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=713060b11b1edfd75fe7d975c3d17f8a02ee4767 zshrc: Move plap to skel/.zshrc Signed-off-by: Frank Terbeck --- diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 1a31867..15d2862 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -207,6 +207,18 @@ fi # fi #} +## List all occurrences of programm in current PATH +#plap() { +# emulate -L zsh +# if [[ $# = 0 ]] ; then +# echo "Usage: $0 program" +# echo "Example: $0 zsh" +# echo "Lists all occurrences of program in the current PATH." +# else +# ls -l ${^path}/*$1*(*N) +# fi +#} + ## log out? set timeout in seconds... ## ...and do not log out in some specific terminals: #if [[ "${TERM}" == ([Exa]term*|rxvt|dtterm|screen*) ]] ; then diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 983609a..8b46fb2 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2977,18 +2977,6 @@ trans() { esac } -#f5# List all occurrences of programm in current PATH -plap() { - emulate -L zsh - if [[ $# = 0 ]] ; then - echo "Usage: $0 program" - echo "Example: $0 zsh" - echo "Lists all occurrences of program in the current PATH." - else - ls -l ${^path}/*$1*(*N) - fi -} - # Usage: simple-extract # Using option -d deletes the original archive file. #f5# Smart archive extractor