From 8a5ebbed05e733319ca82e39d58aa2da31a7f010 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 17 Aug 2023 10:35:48 -0400 Subject: [PATCH] add lazygit alias and fix GOPATH issue --- chezmoi/dot_zshenv | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/chezmoi/dot_zshenv b/chezmoi/dot_zshenv index d6aae35..9300c63 100644 --- a/chezmoi/dot_zshenv +++ b/chezmoi/dot_zshenv @@ -72,11 +72,15 @@ if command -v go &> /dev/null; then if [ -d "${GOPATH}" ]; then export GOPATH export PATH="${GOPATH}/bin:${PATH}" - else - unset GOPATH + else + unset GOPATH fi fi +if command -v lazygit &> /dev/null; then + alias lg=lazygit +fi + . /etc/profile.d/flatpak.sh 2>/dev/null # if rootless docker has a unix domain socket, use it!