From: Frank Terbeck Date: Mon, 28 Nov 2011 21:13:09 +0000 (+0100) Subject: zshrc: Move ic_get to skel/.zshrc X-Git-Tag: v0.5.0~82 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=a4eb95c9fe6ef6fdfa8ec38e8f5d0392460e8c5a zshrc: Move ic_get to skel/.zshrc Signed-off-by: Frank Terbeck --- diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9837a97..1a31867 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -194,6 +194,19 @@ 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 +#} + ## 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 e007b65..22b3195 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3443,19 +3443,6 @@ exirename() { fi } -# 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 -} - #f5# Change the xterm title from within GNU-screen xtrename() { emulate -L zsh