summaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index eafbbc2..5ca4c1b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -4,6 +4,9 @@ export WORDCHARS='*?-[]~=&;!#$%^(){}<>'
fpath+=~/.zfunc
+disable -r time # disable shell reserved word
+alias time='time -p' # -p for POSIX output
+
# rehash if last command was pacaur or pacman
# (so that zsh picks up changes in $PATH immediately)
TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman)* ]] && killall -USR1 zsh }
@@ -31,3 +34,4 @@ alias mv="mv -iv"
alias cp="cp -iv"
alias scl=systemctl
alias jcl=journalctl
+alias m="mbsync -Va; getmail; notmuch new"