From 2ca683f83f5e07e24c6138cdb78414e54cdddabe Mon Sep 17 00:00:00 2001 From: Marcelo Eden Date: Mon, 16 Jul 2012 09:13:05 -0300 Subject: [PATCH 1/2] add new theme 3den --- themes/3den.zsh-theme | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 themes/3den.zsh-theme diff --git a/themes/3den.zsh-theme b/themes/3den.zsh-theme new file mode 100644 index 000000000..1d2c7db7f --- /dev/null +++ b/themes/3den.zsh-theme @@ -0,0 +1,7 @@ +PROMPT=$'%{$fg[white]%}$(~/.rvm/bin/rvm-prompt) %{$fg_bold[cyan]%}%~%{$reset_color%}$(git_prompt_info) %{$fg[cyan]%}%D{[%I:%M:%S]}\ +%{$fg_bold[green]%}%n$%{$reset_color%} ' + +ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}(" +ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="*" +ZSH_THEME_GIT_PROMPT_CLEAN="" From 2e60d4b09f39564bd7c68b82178f832ee93e20d4 Mon Sep 17 00:00:00 2001 From: Marcelo Eden Date: Tue, 14 Aug 2012 10:23:54 -0300 Subject: [PATCH 2/2] do not correct git commands --- lib/correction.zsh | 1 + plugins/git/git.plugin.zsh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib/correction.zsh b/lib/correction.zsh index fc60dcdbd..806e5fb57 100644 --- a/lib/correction.zsh +++ b/lib/correction.zsh @@ -5,6 +5,7 @@ alias mv='nocorrect mv' alias mysql='nocorrect mysql' alias mkdir='nocorrect mkdir' alias gist='nocorrect gist' +alias git='nocorrect git' alias heroku='nocorrect heroku' alias ebuild='nocorrect ebuild' alias hpodder='nocorrect hpodder' diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index d3d3f702a..56d15f6cf 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -38,6 +38,8 @@ alias gm='git merge' compdef _git gm=git-merge alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' +alias gt="git tag" +compdef _git gt=git-tag # Git and svn mix alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'