Add instructions for Nushell

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

View File

@ -345,7 +345,9 @@ zoxide can be installed in 4 easy steps:
<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:
> *If you have enabled `.sqlite` history storage ([help](https://github.com/nushell/nushell/blob/a2dd948e71c3cbdecfa1a2dbf35282707e151b02/crates/nu-utils/src/sample_config/default_config.nu#L268)), you can import all visited directories*
>
> Run this command in Nushell:
>
> ```sh
> history | get cwd | uniq | each {|i| zoxide add $i}