1
0

set EDITOR environment variable

This commit is contained in:
2022-07-09 21:40:02 +02:00
parent 24b214adfe
commit 2e30934d9a

View File

@@ -13,6 +13,12 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [[ -x "$(command -v hx)" ]] ; then
export EDITOR="hx"
elif [[ -x "$(command -v vim)" ]] ; then
export EDITOR="vim"
fi
# set GOPATH and add bin directory to PATH variable
export GOPATH="$HOME/.local/lib/go"