Debian Codegraph @

debian/patches/0002-swap-editor.patch

raw
1 From: Eric Dorland <[email protected]>
2 Date: Wed, 10 Jun 2026 00:01:10 -0400
3 Subject: swap editor
4
5 Replace nano with the editor command.
6
7 Closes: 1136072
8 ---
9 cli/src/config/unix.toml | 2 +-
10 docs/config.toml | 2 +-
11 docs/tutorial.md | 2 +-
12 3 files changed, 3 insertions(+), 3 deletions(-)
13
14 diff --git a/cli/src/config/unix.toml b/cli/src/config/unix.toml
15 index 07b1760..67db865 100644
16 --- a/cli/src/config/unix.toml
17 +++ b/cli/src/config/unix.toml
18 @@ -1,2 +1,2 @@
19 [ui]
20 -editor = "nano"
21 +editor = "editor"
22 diff --git a/docs/config.toml b/docs/config.toml
23 index 2f1d6f9..c0d195d 100644
24 --- a/docs/config.toml
25 +++ b/docs/config.toml
26 @@ -7,7 +7,7 @@ user.email = "[email protected]"
27 ui.color = "auto" # the default
28 # ui.color = never # no color
29
30 -ui.editor = "nano" # the default on Unix
31 +ui.editor = "editor" # the default on Unix
32 # ui.editor = "vim"
33
34 ui.diff-editor = ":builtin" # default, internal TUI tool
35 diff --git a/docs/tutorial.md b/docs/tutorial.md
36 index d0afd0c..270eeb5 100644
37 --- a/docs/tutorial.md
38 +++ b/docs/tutorial.md
39 @@ -89,7 +89,7 @@ instead of "Hello". Start by describing the change (adding a commit message) so
40 we don't forget what we're working on:
41
42 ```shell
43 -# This brings up $EDITOR (or `nano` or `Notepad` by default).
44 +# This brings up $EDITOR (or `editor` or `Notepad` by default).
45 # Enter something like "Say goodbye" in the editor and then save the file and close
46 # the editor.
47 $ jj describe