summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-04 17:51:55 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-04 17:51:55 +0100
commit63f2683d758a90a04558104aba949694e0b456dd (patch)
tree6a195807d604603c8cc6a2cd296d4cb8393dbd39 /.config/zsh/.zshrc
parent7e919bbea37c30eade041394e079e16ac81ce899 (diff)
Prettier git log alias
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 803ea88..70e4597 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -38,7 +38,7 @@ alias lh="exa -1dI '.|..' .*"
alias g='git'
alias gs='git status'
-alias lg='git log'
+alias lg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
alias com='git commit'
alias sth='git stash'
alias clone='git clone'
@@ -48,7 +48,7 @@ alias gpl='git pull'
alias config='/usr/bin/git --git-dir=/home/adam/.cfg/ --work-tree=/home/adam'
alias cs='config status'
-alias clg='config log'
+alias clg="config log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
alias ccom='config commit'
alias csth='config stash'
alias cu='config add -u'