Skip to content

Commit d6cb79b

Browse files
authored
buffer_editor example with arguments in Quickstart (nushell#1810)
* Add quickstart example for editor args * Fix typos
1 parent 7f7bd6d commit d6cb79b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ can get started with just a few simple steps:
2121
$env.config.buffer_editor = "hx"
2222
# or
2323
$env.config.buffer_editor = "vi"
24+
# with args
25+
$env.config.buffer_editor = ["emacsclient", "-s", "light", "-t"]
2426
# etc.
2527
```
2628

@@ -576,7 +578,7 @@ The following stages and their steps _may_ occur during startup, based on the fl
576578
| 21. | (config files) (config.nu) | Loads a minimal `$env.config` record from the internal `default_config.nu`. This file can be viewed with: `nu config nu --default \| nu-highlight \| less -R`. Most values that are not defined in `default_config.nu` will be auto-populated into `$env.config` using their internal defaults as well. |
577579
| 22. | (config files) (config.nu) | Loads (parses and evaluates) the user's `config.nu` (the path to which was determined above). |
578580
| 23. | (config files) (login) | When Nushell is running as a login shell, loads the user's `login.nu`. |
579-
| 24. | (config files) | Loops through autoload directories and loads any `.nu` files found. The directories are processed in the order found in `$nu.vendor-autoload-dirs`, and files in those directories are processed in alphabetical order. |
581+
| 24. | (config files) | Loops through autoload directories and loads any `.nu` files found. The directories are processed in the order found in `$nu.vendor-autoload-dirs`, and files in those directories are processed in alphabetical order. |
580582
| 25. | (repl) | Processes any additional `ENV_CONVERSIONS` that were defined in `config.nu` or the autoload files. |
581583
| 26. | (repl) and (stdlib) | Shows the banner if configured. |
582584
| 27. | (repl) | Nushell enters the normal commandline (REPL). |

0 commit comments

Comments
 (0)