diff options
author | Pirmin Kalberer <pka@sourcepole.ch> | 2020-05-16 23:56:46 +0200 |
---|---|---|
committer | Pirmin Kalberer <pka@sourcepole.ch> | 2020-05-17 00:02:39 +0200 |
commit | 9c83d4fa07c634329e95ddff0affadf347d49f8c (patch) | |
tree | 2e95bb25cdc185a7650e7ccd3ad87550299df5fa /website/docs/install.md | |
parent | eef0c44dfc9a8d5ae121f9d97eee45cf494f34d2 (diff) |
Add setup instructions for nushell
Diffstat (limited to 'website/docs/install.md')
-rw-r--r-- | website/docs/install.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/website/docs/install.md b/website/docs/install.md index cf24433..30ec3a2 100644 --- a/website/docs/install.md +++ b/website/docs/install.md @@ -73,4 +73,20 @@ In order to do this, either remove all broot config files, or launch `broot --in When it's done, you can do just `br` to launch broot, and typing `<alt><enter>` will cd for you. +# `br` alias for Nushell +As a shortcut for [Nushell](https://www.nushell.sh/), define the following alias: + + alias br [] { broot | trim | cd $it } + +When it's done, you can do just `br` to launch broot, and typing `:pp` will cd for you. + +You can bind this command to a key sequence (but currently not to `<alt><enter>`) in the [configuration file](../documentation/configuration/): + +```toml +[[verbs]] +invocation = "print_path" +key = "alt-c" +shortcut = "pp" +execution = ":print_path" +``` |