Procházet zdrojové kódy

README: Add shell setup instructions for nushell (#2916)

pull/3255/head
Jordan Stewart před 1 rokem
odevzdal GitHub
rodič
revize
da3fcb7eb7
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: B5690EEEBB952194
1 změnil soubory, kde provedl 18 přidání a 0 odebrání
  1. +18
    -0
      README.md

+ 18
- 0
README.md Zobrazit soubor

@ -252,6 +252,24 @@ See [Advanced configuration](#advanced-configuration) for details and more confi
```
</details>
#### Nushell
<details>
Add the following lines to your `config.nu` to add Pyenv and its shims to your `PATH`.
Shell integration (completions and subcommands changing the shell's state)
isn't currently supported.
~~~ nu
$env.PYENV_ROOT = "~/.pyenv" | path expand
if (( $"($env.PYENV_ROOT)/bin" | path type ) == "dir") {
$env.PATH = $env.PATH | prepend $"($env.PYENV_ROOT)/bin" }
$env.PATH = $env.PATH | prepend $"(pyenv root)/shims"
~~~
</details>
### C. Restart your shell
----

Načítá se…
Zrušit
Uložit