diff options
Diffstat (limited to 'dot_config/zsh')
-rw-r--r-- | dot_config/zsh/dot_zshenv | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dot_config/zsh/dot_zshenv b/dot_config/zsh/dot_zshenv index fe99379..56e327d 100644 --- a/dot_config/zsh/dot_zshenv +++ b/dot_config/zsh/dot_zshenv @@ -9,7 +9,9 @@ export FPATH="$FPATH:${XDG_DATA_HOME:-$HOME/.local/share/zsh/site-functions}" unsetopt PROMPT_SP # Default programs: -export EDITOR="nvim +star" +#export EDITOR="nvim +star" +[ -n "$DISPLAY" ] && export EDITOR="code -nw" || export EDITOR="nvim +star" +export VISUAL="$EDITOR" export BROWSER="chromium" # ~/ Clean-up (XDG): |