diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-11-06 16:53:17 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-11-06 16:53:17 -0600 |
commit | 2d4eb8ae74431fc3a267467d955726cb2c40e14f (patch) | |
tree | 8b2ccffb939895e1ce5d49ce62dae442ef9f7e72 /dot_config/zsh | |
parent | use TUI for git (diff) | |
download | dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar.gz dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar.bz2 dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar.lz dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar.xz dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.tar.zst dotfiles-2d4eb8ae74431fc3a267467d955726cb2c40e14f.zip |
make sure git_editor does not get clobbered by myself
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | dot_config/zsh/dot_zshenv | 2 |
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" |