Skip to content

Commit c8f64b2

Browse files
author
Weverton Timoteo
committed
Set default editor for multiple env vars
1 parent be34714 commit c8f64b2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

exports

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ LANG=en_US.UTF-8
1010
ZDOTDIR="$HOME/.zsh"
1111
ZSH_CUSTOM="$ZDOTDIR/custom"
1212

13-
EDITOR=nvim
14-
1513
# Kubernetes
1614
KUBECONFIG=$HOME/.kube/config
1715

1816
# Theme
1917
LS_COLORS="$(vivid generate dracula)"
2018

21-
TIG_EDITOR="nvim"
19+
default_editor="nvim"
20+
EDITOR=$default_editor
21+
TIG_EDITOR=$default_editor
22+
GIT_EDITOR=$default_editor
2223

2324
# Erlang (REPL)/Elixir (iex) history
2425
ERL_AFLAGS="-kernel shell_history enabled -kernel shell_history_file_bytes 2097152"

0 commit comments

Comments
 (0)