Skip to content

Commit

Permalink
docs: added warning for powershell users
Browse files Browse the repository at this point in the history
`.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.
  • Loading branch information
wtfzambo authored Jun 14, 2022
1 parent a8e92e0 commit ee6aa2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down

0 comments on commit ee6aa2c

Please sign in to comment.