diff options
Diffstat (limited to '')
-rw-r--r-- | zsh/.zimrc | 5 | ||||
-rw-r--r-- | zsh/.zshrc | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -24,10 +24,11 @@ zmodules=(directory environment git git-info history input ssh utility meta cust # # Set your desired prompt here -#zprompt_theme='pure' +zprompt_theme='pure' #zprompt_theme='gitster' -zprompt_theme='minimal' +#zprompt_theme='minimal' PURE_PROMPT_SYMBOL=λ +#PURE_PROMPT_SYMBOL=➜ # # Completion @@ -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" |