X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=df9f4d9f32c58ffbc1f5d3bba59747c0f930f113;hb=ece49c422451116f76a62d5df6db1ea7207be392;hp=9837a97e3f380c9297fa79d51af7ee2b92850ddf;hpb=cbbf17b3f869d4c25ca45f48ca5ee336687cafd8;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9837a97..df9f4d9 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -194,6 +194,40 @@ fi # exec $SHELL $SHELL_ARGS "$@" #} +## get_ic() - queries imap servers for capabilities; real simple. no imaps +#ic_get() { +# emulate -L zsh +# local port +# if [[ ! -z $1 ]] ; then +# port=${2:-143} +# print "querying imap server on $1:${port}...\n"; +# print "a1 capability\na2 logout\n" | nc $1 ${port} +# else +# print "usage:\n $0 [port]" +# 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