X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=df9f4d9f32c58ffbc1f5d3bba59747c0f930f113;hb=c1d89209822ed136e486b6c3c253f247e4d65ab2;hp=1a318670c9d9ac8bef0d0e1d1ca5590470d7a327;hpb=a4eb95c9fe6ef6fdfa8ec38e8f5d0392460e8c5a;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 1a31867..df9f4d9 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -207,6 +207,27 @@ 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 +#} + +## Find out which libs define a symbol +#lcheck() { +# if [[ -n "$1" ]] ; then +# nm -go /usr/lib/lib*.a 2>/dev/null | grep ":[[:xdigit:]]\{8\} . .*$1" +# else +# echo "Usage: lcheck " >&2 +# fi +#} + ## log out? set timeout in seconds... ## ...and do not log out in some specific terminals: #if [[ "${TERM}" == ([Exa]term*|rxvt|dtterm|screen*) ]] ; then