X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/f98cb7bf41283653ccd5d575eb13d2695d0da97c..7964cdfea7efc26a42f26a33b8626d319c91b8f4:/.zsh/zshrc/00_TODO?ds=sidebyside diff --git a/.zsh/zshrc/00_TODO b/.zsh/zshrc/00_TODO index aa65548..dc1294b 100644 --- a/.zsh/zshrc/00_TODO +++ b/.zsh/zshrc/00_TODO @@ -23,22 +23,39 @@ setopt autopushd pushdminus pushdsilent pushdtohome # brace expansion setopt braceccl -# automatically remove duplicates from these arrays -typeset -gU path cdpath fpath manpath +# 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 -# http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=12 -typeset -ga preexec_functions -typeset -ga precmd_functions -typeset -ga chpwd_functions +[ "$(umask)" = 022 ] && umask 0077 -. $ZDOTDIR/xterm-title +eval `lesspipe 2>/dev/null` -precmd_functions+=set_plain_xterm_title -preexec_functions+=set_cmd_xterm_title +WORDCHARS="*?_-.[]~/&;!#$%^(){}<>" -[ "$(umask)" = 022 ] && umask 0077 +# report time stats when command takes longer than 5 seconds +REPORTTIME=5 -eval `lesspipe 2>/dev/null` +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 :