zsh-snap: Error with latest Starship prompt
Hi, I got
error: Invalid value for '--jobs <JOBS>': cannot parse integer from empty string
For more information try --help
with the latest startship
znap eval starship 'starship init zsh --print-full-init'
znap prompt
comment out znap prompt
works fine.
zsh 5.8 (x86_64-apple-darwin21.0) starship stable 1.2.1 znap e019e00
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 20 (8 by maintainers)
@theol0403 @Jaakkonen @muuvmuuv @tshu-w @dannysteenman @billyogat
Starting with aa8396a5354943709468ca634eb32e170a79d293, the following should now work:
@mgoodness Thanks for the sponsorship! 😻
This pull request to Starship, once merged, will make it possible to simplify the above to
Hi, I get the same error as @billyogat when I use the commands above. However, if I change it to this:
Then it works.
@tshu-w @mgoodness My pull request to Starship has been merged.
Thanks much! Have added
starship_precmd
to my config and will keep an eye on the PR.