2 #export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
3 export WORDCHARS='*?-[]~=&;!#$%^(){}<>'
7 disable -r time # disable shell reserved word
8 alias time='time -p' # -p for POSIX output
10 # rehash if last command was pacaur or pacman
11 # (so that zsh picks up changes in $PATH immediately)
12 TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman)* ]] && killall -USR1 zsh }
17 # User configuration sourced by interactive shells
21 if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then
22 source ${ZDOTDIR:-${HOME}}/.zim/init.zsh
26 ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
27 #ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
29 source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
30 source ~/.zsh/zsh-autopair/autopair.zsh
33 alias mpv="mpv --ytdl-format mp4"
38 alias m="mbsync -Va; getmail; notmuch new"
39 alias best="youtube-dl -f best"