From 8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 26 Aug 2017 15:41:59 -0400 Subject: Generic updates --- zsh/.zimrc | 5 +++-- zsh/.zshrc | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zimrc b/zsh/.zimrc index e53678e..2b07dee 100644 --- a/zsh/.zimrc +++ b/zsh/.zimrc @@ -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 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" -- cgit v1.2.3-60-g2f50