mirror of https://gitee.com/openkylin/libvirt.git
Use sensible-editor by default
It is the reasonable default for Debian. Forwarded: not-needed Gbp-Pq: Topic debian Gbp-Pq: Name Use-sensible-editor-by-default.patch
This commit is contained in:
parent
848e5aff27
commit
67531b88fb
|
@ -2434,7 +2434,7 @@ vshEditWriteToTempFile(vshControl *ctl, const char *doc)
|
||||||
|
|
||||||
/* Hard-code default editor used as a fallback if not configured by
|
/* Hard-code default editor used as a fallback if not configured by
|
||||||
* VISUAL or EDITOR environment variables. */
|
* VISUAL or EDITOR environment variables. */
|
||||||
#define DEFAULT_EDITOR "vi"
|
#define DEFAULT_EDITOR "sensible-editor"
|
||||||
|
|
||||||
int
|
int
|
||||||
vshEditFile(vshControl *ctl, const char *filename)
|
vshEditFile(vshControl *ctl, const char *filename)
|
||||||
|
|
Loading…
Reference in New Issue