From bdc989ee4b202a04e65331d01830ee8d89eab24f Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 17 Dec 2024 22:51:54 -0600 Subject: fix default editor shenanigans Signed-off-by: Matt Strapp --- dot_config/zsh/dot_zshenv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dot_config/zsh/dot_zshenv') diff --git a/dot_config/zsh/dot_zshenv b/dot_config/zsh/dot_zshenv index 0f68b72..c5d0728 100644 --- a/dot_config/zsh/dot_zshenv +++ b/dot_config/zsh/dot_zshenv @@ -16,7 +16,8 @@ else fi # Use TUI editor for git -[ -z "$GIT_EDITOR" ] && export GIT_EDITOR="$EDITOR" +[ -z "$GIT_EDITOR" ] && export GIT_EDITOR="$DEFAULT_EDITOR" + # Default programs for SSH or not if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then export BROWSER="w3m" -- cgit v1.2.3