X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/bbf4078ba540482c2042627235a3814d5259e49f..c2fc1c7c9dc991f9e71b1074a5556572f7e0a368:/.zsh/zshrc/00_TODO?ds=sidebyside diff --git a/.zsh/zshrc/00_TODO b/.zsh/zshrc/00_TODO index 2a6d13b..32e197d 100644 --- a/.zsh/zshrc/00_TODO +++ b/.zsh/zshrc/00_TODO @@ -23,14 +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 - [ "$(umask)" = 022 ] && umask 0077 eval `lesspipe 2>/dev/null` @@ -40,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