Added instructions to import CWDs history of Nushell

This commit is contained in:
Maxim Uvarov 2023-05-08 18:42:03 +08:00 committed by GitHub
parent ce8f2395d5
commit 493042f6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -342,6 +342,17 @@ zoxide can be installed in 4 easy steps:
</details>
<details>
<summary>Nushell</summary>
> In case you have enabled `.sqlite` history storage ([help](https://github.com/nushell/nushell/blob/a2dd948e71c3cbdecfa1a2dbf35282707e151b02/crates/nu-utils/src/sample_config/default_config.nu#L268)) in Nushell, you can import all visited directories with the command:
>
> ```sh
> history | get cwd | uniq | each {|i| zoxide add $i}
> ```
</details>
## Configuration
### Flags