diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index c7e98654a..5e10caef6 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -60,6 +60,8 @@ alias glg='git log --stat --max-count=10' compdef _git glg=git-log alias glgg='git log --graph --max-count=10' compdef _git glgg=git-log +alias gplg="git log --no-merges --graph --pretty=format:'%C()%h%Creset - %C(green)%aN%Creset -%C(blue)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" +compdef _git gplg=git-log alias glgga='git log --graph --decorate --all' compdef _git glgga=git-log alias glo='git log --oneline' diff --git a/themes/joeylomanto.zsh-theme b/themes/joeylomanto.zsh-theme new file mode 100644 index 000000000..f51543326 --- /dev/null +++ b/themes/joeylomanto.zsh-theme @@ -0,0 +1,7 @@ +PROMPT=$'%{$fg_bold[green]%}%n%} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\ +%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} ' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[" +ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡%{$fg[green]%}" +ZSH_THEME_GIT_PROMPT_CLEAN=""