Skip to content

Commit cc02f94

Browse files
committed
Stop recommending adding register to config.nu
I didn't realize that plugin registration is persisted between runs of nushell in the `plugin.nu` config file (`$nu.plugin-path`) Because of this, `register` really only needs to be run when you install or update the plugin. Adding plugin registrations to `config.nu` leads to longer startup times and is probably best avoided
1 parent 35572e2 commit cc02f94

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ the bus without having to implement boilerplate from documentation.
1616

1717
## Install with Cargo
1818

19-
Run: `cargo install --locked nu_plugin_dbus`
19+
From within nushell:
2020

21-
Then add `register ~/.cargo/bin/nu_plugin_dbus` to your `~/.config/nushell/config.nu`
21+
cargo install --locked nu_plugin_dbus
22+
register ~/.cargo/bin/nu_plugin_dbus
2223

2324
## Usage
2425

0 commit comments

Comments
 (0)