From 6d539e52a8c145f23158b9ae1ca85b3d47158c69 Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 21 Aug 2024 20:12:15 +0200 Subject: [PATCH] addet go version of lazygit to alias if available --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 4ef0fa2..ad69dd5 100644 --- a/.zshrc +++ b/.zshrc @@ -99,6 +99,10 @@ _alias(){ alias starwars="telnet -a telehack.com" fi + [[ -f "$HOME/go/bin/lazygit" ]] && + alias lazygit="$HOME/go/bin/lazygit" && + alias lg="lazygit" + # ─< colorized ls >───────────────────────────────────────────────────────────────────────── if command_exists exa; then alias ls="exa --icons -l --git"