diff --git a/zshrc b/zshrc index 71e929a..78b3131 100644 --- a/zshrc +++ b/zshrc @@ -187,8 +187,10 @@ alias pbin='~/repos/cpaste/cpaste --sourcecode --expire 1week --file ' ## Git aliases − Try to prefix with 'gg' {{{ ### Get status of the repo alias ggstatus='git status' -### Show differences between changes and index -alias ggdiff='git diff' +### Show differences between changes and index and ensure to display colors even with a pipe +alias ggdiff='git diff --color=always' +### Show differences between changes and index WITHOUT any colors +alias ggnocolordiff='git diff --color=never' ### Show only words/characters differences alias ggwdiff='git diff --color-words=. --patience' ### Add changes to index