From 3c8ab1bd24b96ca9db1683c88b1fbb2ce52f49eb Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 18 Oct 2024 03:49:53 -0500 Subject: add git stuff --- fish/config.fish | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fish/config.fish') diff --git a/fish/config.fish b/fish/config.fish index 227e739..6c55df8 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -1,6 +1,8 @@ alias c="clear" alias h="history" alias gpg-agent-restart="gpg-connect-agent reloadagent /bye" +alias gl="git log --graph --pretty=\"tformat:%C(always,yellow)%h%C(always,reset) %C(always,green)%ar%C(always,reset){%C(always,bold blue)%an%C(always,reset){%C(always,red)%d%C(always,reset) %s\" | column -t -s '{' | less -XRS --quit-if-one-screen" +alias remove-untracked-files="git ls-files --other --exclude-standard | xargs rm -rf" if status is-interactive set -gx LANG en_US.UTF-8 -- cgit v1.2.3