X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/d0ef45b98046da3440ba9db8b51fccbf19c05bdf..8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f:/zsh/.zshrc diff --git a/zsh/.zshrc b/zsh/.zshrc index 6c7e099..5ca4c1b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,9 +1,12 @@ # Bash-like navigation #export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' -export WORDCHARS='*?[]~=&;!#$%^(){}<>' +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 } @@ -29,3 +32,6 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh alias mpv="mpv --ytdl-format mp4" alias mv="mv -iv" alias cp="cp -iv" +alias scl=systemctl +alias jcl=journalctl +alias m="mbsync -Va; getmail; notmuch new"