diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-12-17 22:51:54 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-12-17 22:51:54 -0600 |
commit | bdc989ee4b202a04e65331d01830ee8d89eab24f (patch) | |
tree | 26317ffd91ec0ef0d1072a93a039ee98ebeedffc /dot_config/zsh/dot_zshenv | |
parent | get rid of is-at-least (diff) | |
download | dotfiles-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/zsh/dot_zshenv')
-rw-r--r-- | dot_config/zsh/dot_zshenv | 3 |
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" |