diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-18 00:38:30 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-18 00:38:30 +0200 |
commit | 44a7be1dbd66f88844d6a07d286e26b1eef6348f (patch) | |
tree | d8f5350b3aef68f488aaa65382994215ce8b0b9d /.config | |
parent | Ok (diff) | |
download | dotfiles-bsd-44a7be1dbd66f88844d6a07d286e26b1eef6348f.tar.gz dotfiles-bsd-44a7be1dbd66f88844d6a07d286e26b1eef6348f.tar.bz2 dotfiles-bsd-44a7be1dbd66f88844d6a07d286e26b1eef6348f.tar.xz dotfiles-bsd-44a7be1dbd66f88844d6a07d286e26b1eef6348f.tar.zst dotfiles-bsd-44a7be1dbd66f88844d6a07d286e26b1eef6348f.zip |
New alias thanks salad
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/alias.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
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 {}")' \ |