Mercurial and kiex bits

This commit is contained in:
Dan Buch 2017-07-08 21:06:59 -04:00
parent 966178503e
commit 8f70fe6c97
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# vim:filetype=zsh # vim:filetype=zsh
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='$(date -u +%Y-%m-%dT%H:%M:%S) ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' PROMPT='$(date -u +%Y-%m-%dT%H:%M:%S) ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)$(hg_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"

2
zshrc
View File

@ -42,6 +42,7 @@ plugins=(
heroku heroku
hk hk
knife knife
mercurial
osx osx
pip pip
postgres postgres
@ -140,6 +141,7 @@ __maybesource ~/.travis/travis.sh
__maybesource ~/google-cloud-sdk/path.zsh.inc __maybesource ~/google-cloud-sdk/path.zsh.inc
__maybesource ~/google-cloud-sdk/completion.zsh.inc __maybesource ~/google-cloud-sdk/completion.zsh.inc
__maybesource /usr/share/nvm/init-nvm.sh __maybesource /usr/share/nvm/init-nvm.sh
__maybesource ~/.kiex/scripts/kiex
if [[ -f ~/perl5/lib/perl5/local/lib.pm ]]; then if [[ -f ~/perl5/lib/perl5/local/lib.pm ]]; then
eval "$(perl -I ~/perl5/lib/perl5 '-Mlocal::lib')" eval "$(perl -I ~/perl5/lib/perl5 '-Mlocal::lib')"