1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-14 03:39:49 +00:00

docs: added warning for powershell users

`.zlua` file doesn't get created for Powershell users that use [Starship Prompt](https://starship.rs/) and place z.lua init command before starship init command in their `profile.ps1`.

Couldn't reproduce the bug in zsh. Didn't test other shells.
This commit is contained in:
wtfzambo
2022-06-14 06:16:58 -04:00
committed by GitHub
parent a8e92e0216
commit ee6aa2c5ce

View File

@@ -119,6 +119,8 @@ z -b foo # cd to the parent directory starting with foo
- Power Shell:
> ⚠️ **WARNING**: users of [Starship Prompt](https://starship.rs/) should add the following command *after* `starship init`.
put something like this in your `profile.ps1`:
Invoke-Expression (& { (lua /path/to/z.lua --init powershell) -join "`n" })