Skip to content

Commit

Permalink
Fix code formatting hooks (#1079)
Browse files Browse the repository at this point in the history
* chore: Fix code formatting hooks

* chore: Fix code formatting hooks
  • Loading branch information
hustcer authored Sep 28, 2023
1 parent 6defcc3 commit 099c7c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions book/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

Nushell uses a configuration system that loads and runs two Nushell script files at launch time:

- `env.nu` is used to define environment variables. These typically get used in the second config file, config.nu.
- `config.nu` is used to add definitions, aliases, and more to the global namespace. It can use the environment variables defined in `env.nu`, which is why there's two separate files.
- `env.nu` is used to define environment variables. These typically get used in the second config file, config.nu.
- `config.nu` is used to add definitions, aliases, and more to the global namespace. It can use the environment variables defined in `env.nu`, which is why there's two separate files.

You can check where Nushell is reading these config files from by calling `$nu.env-path` and `$nu.config-path`.
You can check where Nushell is reading these config files from by calling `$nu.env-path` and `$nu.config-path`.

```
> $nu.env-path
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ pre-commit:
- rebase
stage_fixed: true
glob: "**/*"
run: prettier --write --ignore-unknown {staged_files}
run: npx prettier --write --ignore-unknown {staged_files}

0 comments on commit 099c7c9

Please sign in to comment.