From 44a7be1dbd66f88844d6a07d286e26b1eef6348f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 18 Apr 2022 00:38:30 +0200 Subject: New alias thanks salad --- .config/zsh/alias.zsh | 1 + 1 file changed, 1 insertion(+) (limited to '.config') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index f7bac6a..e3318bd 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -79,6 +79,7 @@ alias \ gco='git commit -m' \ gpp='git push' \ gpo='git push origin' \ + gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" \ srcnt='find . -type f -name "*.c" -exec cat {} \; | sed "/^\//d" | sed "/^\*/d" | sed "/^ \*/d" | sed "/^\/\//d" | sed "/^$/d" | wc -l | tr -d " "' \ vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \ v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \ -- cgit v1.2.3