summaryrefslogtreecommitdiffstats
path: root/dot_config
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-12-17 22:51:54 -0600
committerMatt Strapp <matt@mattstrapp.net>2024-12-17 22:51:54 -0600
commitbdc989ee4b202a04e65331d01830ee8d89eab24f (patch)
tree26317ffd91ec0ef0d1072a93a039ee98ebeedffc /dot_config
parentget rid of is-at-least (diff)
downloaddotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar.gz
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar.bz2
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar.lz
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar.xz
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.tar.zst
dotfiles-bdc989ee4b202a04e65331d01830ee8d89eab24f.zip
fix default editor shenanigans
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/zsh/dot_zshenv3
1 files changed, 2 insertions, 1 deletions
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"