summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2017-08-26 15:41:59 -0400
committerAmin Bandali <amin@aminb.org>2017-08-26 15:41:59 -0400
commit8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f (patch)
tree46bb4309da0bbed6d71045055a416197df4e4a9c /zsh
parentb93770a3640c8bdcc32259abd9ab76cfb83b0355 (diff)
downloadconfigs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.tar.gz
configs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.tar.xz
configs-8b2a2e9c8a72ea0a7c1e409849bd8329f958da8f.zip
Generic updates
Diffstat (limited to '')
-rw-r--r--zsh/.zimrc5
-rw-r--r--zsh/.zshrc4
2 files changed, 7 insertions, 2 deletions
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"