command_exists with editor

This commit is contained in:
Michael Zhang 2021-04-15 03:20:02 -05:00
parent 6a48b1f1d6
commit 5375aea605
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -20,7 +20,8 @@ setopt HIST_IGNORE_SPACE
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
export EDITOR=nvim
export EDITOR=vim
command_exists && export EDITOR=nvim
export MAILDIR=$HOME/Mail
# export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock