Skip to content

Commit ee6aa2c

Browse files
authored
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.
1 parent a8e92e0 commit ee6aa2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ z -b foo # cd to the parent directory starting with foo
119119

120120
- Power Shell:
121121

122+
> ⚠️ **WARNING**: users of [Starship Prompt](https://starship.rs/) should add the following command *after* `starship init`.
123+
122124
put something like this in your `profile.ps1`:
123125

124126
Invoke-Expression (& { (lua /path/to/z.lua --init powershell) -join "`n" })

0 commit comments

Comments
 (0)