2 #export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
3 export WORDCHARS='*?-[]~=&;!#$%^(){}<>'
7 # rehash if last command was pacaur or pacman
8 # (so that zsh picks up changes in $PATH immediately)
9 TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman)* ]] && killall -USR1 zsh }
14 # User configuration sourced by interactive shells
18 if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then
19 source ${ZDOTDIR:-${HOME}}/.zim/init.zsh
23 ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
24 #ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
26 source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
29 alias mpv="mpv --ytdl-format mp4"