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 if [ -d "${GOPATH}" ]; then
export GOPATH export GOPATH
export PATH="${GOPATH}/bin:${PATH}" export PATH="${GOPATH}/bin:${PATH}"
else else
unset GOPATH unset GOPATH
fi fi
fi fi
if command -v lazygit &> /dev/null; then
alias lg=lazygit
fi
. /etc/profile.d/flatpak.sh 2>/dev/null . /etc/profile.d/flatpak.sh 2>/dev/null
# if rootless docker has a unix domain socket, use it! # if rootless docker has a unix domain socket, use it!