add lazygit alias and fix GOPATH issue
This commit is contained in:
parent
712b295e89
commit
8a5ebbed05
1 changed files with 6 additions and 2 deletions
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue