feat(installer): set default editor

Attempt to set and locate a default editor when running the installer.
This commit is contained in:
Christopher Allen Lane
2022-08-08 20:14:27 -04:00
parent 0c47f44ff9
commit 6421953183
4 changed files with 24 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import (
func configs() string {
return strings.TrimSpace(`---
# The editor to use with 'cheat -e <sheet>'. Defaults to $EDITOR or $VISUAL.
# editor: vim
editor: EDITOR_PATH
# Should 'cheat' always colorize output?
colorize: false