Put powermenu back
[~bandali/configs] / zsh / .zshrc
... / ...
CommitLineData
1# Bash-like navigation
2#export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
3export WORDCHARS='*?[]~=&;!#$%^(){}<>'
4
5fpath+=~/.zfunc
6
7# rehash if last command was pacaur or pacman
8# (so that zsh picks up changes in $PATH immediately)
9TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman)* ]] && killall -USR1 zsh }
10
11
12
13#
14# User configuration sourced by interactive shells
15#
16
17# Source zim
18if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then
19 source ${ZDOTDIR:-${HOME}}/.zim/init.zsh
20fi
21
22
23ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
24#ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
25
26source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh