set EDITOR environment variable
This commit is contained in:
6
.profile
6
.profile
@@ -13,6 +13,12 @@ if [ -d "$HOME/.local/bin" ] ; then
|
|||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
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
|
# set GOPATH and add bin directory to PATH variable
|
||||||
export GOPATH="$HOME/.local/lib/go"
|
export GOPATH="$HOME/.local/lib/go"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user