summaryrefslogtreecommitdiff
path: root/go.sum
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 20:09:33 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 20:09:33 +0200
commit528a9c0888f1db2449d30bf9c0c8b55fcd3c645c (patch)
treed8891ac02c1e0d873c0caff3ebe29b4ea2a916af /go.sum
parentd629558394465b8956285edac324d67688ddd2c1 (diff)
Use \$EDITOR as default editor, falling back to vi (task 344)
defaultConfig() now reads the \$EDITOR environment variable for EditCmd so users get their preferred editor automatically without touching the config file. Falls back to "vi" (universally available) when \$EDITOR is unset or empty. A JSON config value still takes precedence over \$EDITOR. Updated tests to: unset \$EDITOR where "vi" fallback is asserted, add TestLoad_editorEnvVar covering the three cases (\$EDITOR unset, \$EDITOR set, JSON override), and remove all stale "hx" references from comments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions