1 autoload -Uz is-at-least
3 # *-magic is known buggy in some versions; disable if so
4 if [[ $DISABLE_MAGIC_FUNCTIONS != true ]]; then
6 if [[ -e "$d/url-quote-magic" ]]; then
7 if is-at-least 5.1; then
8 autoload -Uz bracketed-paste-magic
9 zle -N bracketed-paste bracketed-paste-magic
11 autoload -Uz url-quote-magic
12 zle -N self-insert url-quote-magic
21 env_default 'PAGER' 'less'
22 env_default 'LESS' '-R'
27 ## more intelligent acking for ubuntu users and no alias for users without ack
28 if (( $+commands[ack-grep] )); then
29 alias afind='ack-grep -il'
30 elif (( $+commands[ack] )); then
35 setopt interactivecomments