X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/bbf4078ba540482c2042627235a3814d5259e49f..7964cdfea7efc26a42f26a33b8626d319c91b8f4:/.zsh/zshrc/00_TODO diff --git a/.zsh/zshrc/00_TODO b/.zsh/zshrc/00_TODO index 2a6d13b..dc1294b 100644 --- a/.zsh/zshrc/00_TODO +++ b/.zsh/zshrc/00_TODO @@ -23,13 +23,17 @@ setopt autopushd pushdminus pushdsilent pushdtohome # brace expansion setopt braceccl -# automatically remove duplicates from these arrays -typeset -gU path cdpath fpath manpath - -# http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=12 -typeset -ga preexec_functions -typeset -ga precmd_functions -typeset -ga chpwd_functions +# print backgrounded jobs when they finish +setopt notify +# bg-processes should not be nice +unsetopt bgnice +# send no HUP signal to running jobs when the shell exits +setopt nohup +# don't bother me with running jobs (only wize with setopt nohup) +unsetopt checkjobs + +# disable backslashed escape sequences unless -e is given to echo +setopt bsd_echo [ "$(umask)" = 022 ] && umask 0077 @@ -40,6 +44,19 @@ WORDCHARS="*?_-.[]~/&;!#$%^(){}<>" # report time stats when command takes longer than 5 seconds REPORTTIME=5 +MAILCHECK=0 + +# http://grml.org/zsh/zsh-lovers.html +rationalise-dot() { + if [[ $LBUFFER = *.. ]]; then + LBUFFER+=/.. + else + LBUFFER+=. + fi +} +zle -N rationalise-dot +bindkey . rationalise-dot + : # vim:ft=zsh