mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: the starship example does not work properly
This commit is contained in:
parent
3ade9bb250
commit
4933b62f40
|
|
@ -210,9 +210,12 @@ # Load pure theme
|
|||
zinit light sindresorhus/pure
|
||||
|
||||
# Load starship theme
|
||||
zinit ice as"command" from"gh-r" \ # `starship` binary as command, from github release
|
||||
atclone"./starship init zsh > init.zsh; ./starship completions zsh > _starship" \ # starship setup at clone(create init.zsh, completion)
|
||||
atpull"%atclone" src"init.zsh" # pull behavior same as clone, source init.zsh
|
||||
# line 1: `starship` binary as command, from github release
|
||||
# line 2: starship setup at clone(create init.zsh, completion)
|
||||
# line 3: pull behavior same as clone, source init.zsh
|
||||
zinit ice as"command" from"gh-r" \
|
||||
atclone"./starship init zsh > init.zsh; ./starship completions zsh > _starship" \
|
||||
atpull"%atclone" src"init.zsh"
|
||||
zinit light starship/starship
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue