mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-30 06:32:27 +00:00
13 lines
393 B
Diff
13 lines
393 B
Diff
diff --git a/m/editor.go b/m/editor.go
|
|
index 1b7ae8b..1d671c4 100644
|
|
--- a/m/editor.go
|
|
+++ b/m/editor.go
|
|
@@ -83,6 +83,7 @@ func pickAnEditor() (string, string, error) {
|
|
}
|
|
|
|
candidates := []string{
|
|
+ "editor", // [PATCH] Termux: default to `editor` to let `update-alternatives` choose
|
|
"vim", // This is a sucky default, but let's have it for compatibility with less
|
|
"nano",
|
|
"vi",
|