From: Frank Terbeck Date: Mon, 28 Nov 2011 21:33:09 +0000 (+0100) Subject: zshrc: Move plap to skel/.zshrc X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=9f620447815eceef8a316044536d527f2495260e;hp=0ad23aa11d19fa800c5b4694f74226c6307d9e1d;p=grml-etc-core.git 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 8c8152d..d93f43c 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2976,18 +2976,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