How to use the editor function from osenv

Find comprehensive JavaScript osenv.editor code examples handpicked from public code repositorys.

133
134
135
136
137
138
139
140
141
142
color: process.env.NO_COLOR == null,
depth: Infinity,
description: true,
dev: false,
'dry-run': false,
editor: osenv.editor(),
'engine-strict': false,
force: false,

'fetch-retries': 2,
fork icon49
star icon518
watch icon38

48
49
50
51
52
53
54
55
56
57
## osenv.path()

An array of the places that the operating system will search for
executables.

## osenv.editor() 

Return the executable name of the editor program.  This uses the EDITOR
and VISUAL environment variables, and falls back to `vi` on Unix, or
`notepad.exe` on Windows.
fork icon19
star icon22
watch icon13