command_exists with editor
This commit is contained in:
parent
6a48b1f1d6
commit
5375aea605
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue