File: edit-adr-on-creation.expected

package info (click to toggle)
adr-tools 3.0.0-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 840 kB
  • sloc: sh: 580; makefile: 42
file content (20 lines) | stat: -rw-r--r-- 705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export EDITOR
export VISUAL

EDITOR=fake-editor
VISUAL=
adr new created with EDITOR environment variable set
EDITOR doc/adr/0001-created-with-editor-environment-variable-set.md
doc/adr/0001-created-with-editor-environment-variable-set.md

EDITOR=
VISUAL=fake-visual
adr new created with VISUAL environment variable set
VISUAL doc/adr/0002-created-with-visual-environment-variable-set.md
doc/adr/0002-created-with-visual-environment-variable-set.md

EDITOR=fake-editor
VISUAL=fake-visual
adr new uses setting of VISUAL if both VISUAL and EDITOR are set
VISUAL doc/adr/0003-uses-setting-of-visual-if-both-visual-and-editor-are-set.md
doc/adr/0003-uses-setting-of-visual-if-both-visual-and-editor-are-set.md