summaryrefslogtreecommitdiffstats
path: root/dot_config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh')
-rw-r--r--dot_config/zsh/dot_zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/zsh/dot_zshenv b/dot_config/zsh/dot_zshenv
index 29838fc..47236cf 100644
--- a/dot_config/zsh/dot_zshenv
+++ b/dot_config/zsh/dot_zshenv
@@ -16,7 +16,7 @@ else
fi
# Use TUI editor for git
-export GIT_EDITOR="$EDITOR"
+[ -z "$GIT_EDITOR" ] && export GIT_EDITOR="$EDITOR"
# Default programs for SSH or not
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
export BROWSER="w3m"