Fix starship
This commit is contained in:
parent
51f353162e
commit
684e99032d
1 changed files with 2 additions and 2 deletions
|
@ -82,12 +82,12 @@ autoload -Uz promptinit
|
||||||
promptinit
|
promptinit
|
||||||
|
|
||||||
if [[ $(whence -p starship 2> /dev/null) ]]; then
|
if [[ $(whence -p starship 2> /dev/null) ]]; then
|
||||||
znap eval starship-init "cat ~/.zsh.d/adds/starship.zsh"
|
znap eval starship-init "starship init zsh --print-full-init"
|
||||||
else
|
else
|
||||||
if [[ ( $ZNAP_USED = 1 ) ]]; then
|
if [[ ( $ZNAP_USED = 1 ) ]]; then
|
||||||
znap clone https://github.com/denysdovhan/spaceship-prompt
|
znap clone https://github.com/denysdovhan/spaceship-prompt
|
||||||
fi
|
|
||||||
znap prompt spaceship-prompt
|
znap prompt spaceship-prompt
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|
Loading…
Add table
Reference in a new issue