X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/41b13e9195f67c4b89b23c6b9d7763e2d684e111..7964cdfea7efc26a42f26a33b8626d319c91b8f4:/.zsh/zshrc/00_TODO diff --git a/.zsh/zshrc/00_TODO b/.zsh/zshrc/00_TODO index 7381073..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 @@ -42,6 +46,17 @@ 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