summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc27
1 files changed, 17 insertions, 10 deletions
diff --git a/.zshrc b/.zshrc
index 735e5bc..cbc5673 100644
--- a/.zshrc
+++ b/.zshrc
@@ -35,7 +35,7 @@ alias mysql="mysql --pager"
alias -s pdf="zathura"
alias -s xls="libreoffice"
-setopt notify
+setopt NOTIFY
setopt PROMPT_SUBST # Allow for functions in the prompt
setopt EXTENDED_GLOB
@@ -46,21 +46,17 @@ typeset -ga preexec_functions
typeset -ga precmd_functions
typeset -ga chpwd_functions
-add-zsh-hook preexec preexec_update_vars
-add-zsh-hook precmd precmd_update_git_vars
-add-zsh-hook precmd precmd_update_updates
-add-zsh-hook precmd precmd_maybe_festival
add-zsh-hook precmd vcs_info
-add-zsh-hook chpwd chpwd_update_git_vars
-zstyle ':vcs_info:*' actionformats '%B%F{5}%a%f%%b %s:%r-%b %S'
+zstyle ':vcs_info:*' actionformats '%B%F{1}%a%f%%b (%F{3}%s%f) %F{5}%r%f:%F{4}%b%f %F{2}%S%f'
zstyle ':vcs_info:*' enable bzr git hg svn
-zstyle ':vcs_info:*' formats '%s:%r-%b %S'
-zstyle ':vcs_info:*' nvcsformats '%~'
+zstyle ':vcs_info:*' formats '(%F{3}%s%f) %F{5}%r%f:%F{4}%b%f %F{2}%S%f'
+zstyle ':vcs_info:*' nvcsformats '%F{2}%~%f'
zstyle ':vcs_info:bzr:*' branchformat '%b'
# Set the prompt.
-PROMPT='%B%(?.%F{2}+.%F{1}-) %F{6}%m%b%f ${vcs_info_msg_0_} %# '
+PROMPT='${vcs_info_msg_0_}
+%B%F{6}%m%b%f %B%(?.%F{2}+.%F{1}-)%b> '
# Set terminal name to current running application
case $TERM in
@@ -70,6 +66,17 @@ case $TERM in
;;
esac
+add-to-list PATH "$HOME/usr/bin"
+add-to-list PATH "/usr/local/clark/bin" t
+
+add-to-list INFOPATH "$HOME/documents/info"
+add-to-list INFOPATH "$HOME/.emacs.d/vendor-lisp/org/doc"
+add-to-list INFOPATH "/usr/local/clark/share/info" t
+
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+
# Set terminal keys
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line