From 6a0f9f0ecd0189363799aad45e6c8727f06e6ca1 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Sat, 25 Sep 2021 00:49:35 -0600 Subject: [PATCH] little editor bug in install --- setup/config/setup.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/config/setup.zsh b/setup/config/setup.zsh index acee77c..eb7c137 100644 --- a/setup/config/setup.zsh +++ b/setup/config/setup.zsh @@ -83,6 +83,7 @@ function CONFIG__RC() { READ_K yn [[ $yn =~ ^[yY] ]] && { + [ ! $EDITOR ] && EDITOR=vi $EDITOR "$HOME/.config/wryn/env/env.$1" } }