add lazygit alias and fix GOPATH issue

This commit is contained in:
Tony Blyler 2023-08-17 10:35:48 -04:00
parent 712b295e89
commit 8a5ebbed05

View file

@ -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!