From a4eb95c9fe6ef6fdfa8ec38e8f5d0392460e8c5a Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 28 Nov 2011 22:13:09 +0100 Subject: [PATCH 1/1] zshrc: Move ic_get to skel/.zshrc Signed-off-by: Frank Terbeck --- etc/skel/.zshrc | 13 +++++++++++++ etc/zsh/zshrc | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) 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 -- 2.1.4