X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=1a318670c9d9ac8bef0d0e1d1ca5590470d7a327;hb=e450b32aa21bafe38ddd3bf1a6d97339b8a7e622;hp=dd4b14dad60550971c44944b569b721247ba4400;hpb=d3a3ea5b0622f2ff6e01cd73a760bc4f29b83c3c;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index dd4b14d..1a31867 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -30,6 +30,13 @@ if [ -r ~/.zshrc -a -r ~/.zshrc.global -a ! -r ~/.zshrc.local ] ; then printf '-!-\n' fi +## Settings for umask +#if (( EUID == 0 )); then +# umask 002 +#else +# umask 022 +#fi + ## Now, we'll give a few examples of what you might want to use in your ## .zshrc.local file (just copy'n'paste and uncomment it there): @@ -187,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