diff options
author | Amin Bandali <amin@aminb.org> | 2017-08-26 15:41:59 -0400 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2017-08-26 15:41:59 -0400 |
commit | 8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f (patch) | |
tree | 46bb4309da0bbed6d71045055a416197df4e4a9c /zsh | |
parent | b93770a3640c8bdcc32259abd9ab76cfb83b0355 (diff) | |
download | configs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.tar.gz configs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.tar.xz configs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.zip |
Generic updates
Diffstat (limited to 'zsh')
-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" |