X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8cb0099bf1690c4df754ad210a4c2c275aab97e6..c2fc1c7c9dc991f9e71b1074a5556572f7e0a368:/.zsh/zshrc/00_TODO diff --git a/.zsh/zshrc/00_TODO b/.zsh/zshrc/00_TODO index 902c9ea..32e197d 100644 --- a/.zsh/zshrc/00_TODO +++ b/.zsh/zshrc/00_TODO @@ -23,19 +23,6 @@ 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 - -. $ZDOTDIR/xterm-title - -precmd_functions+=set_plain_xterm_title -preexec_functions+=set_cmd_xterm_title - [ "$(umask)" = 022 ] && umask 0077 eval `lesspipe 2>/dev/null` @@ -45,6 +32,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