From b4edfe36e63dcdb41d327bfc5b0c9063badbfeba Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 18 Sep 2024 16:25:01 +0200 Subject: [PATCH] git: Add lazygit lg alias --- git/.config/sh/alias.d/git.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/.config/sh/alias.d/git.sh b/git/.config/sh/alias.d/git.sh index 8062e3d..29679c3 100644 --- a/git/.config/sh/alias.d/git.sh +++ b/git/.config/sh/alias.d/git.sh @@ -9,6 +9,9 @@ git_version=$(git --version 2>/dev/null) git_version="${git_version##git version }" alias g='git' +if exist lazygit; then + alias lg="lazygit" +fi alias ga='git add' alias gaa='git add --all'