If statement for starship
This commit is contained in:
parent
6db10bb25a
commit
46fdaf14f5
1 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,11 @@ if [[ ! ($(uname) -eq "Darwin") ]]; then
|
|||
antigen bundle matthieusb/zsh-sdkman
|
||||
fi
|
||||
|
||||
antigen theme denysdovhan/spaceship-prompt
|
||||
if [[ -e ~/.cargo/bin/starship ]]; then
|
||||
eval "$(~/.cargo/bin/starship init zsh)"
|
||||
else
|
||||
antigen theme denysdovhan/spaceship-prompt
|
||||
fi
|
||||
# antigen theme romkatv/powerlevel10k powerlevel10k
|
||||
|
||||
antigen apply
|
||||
|
|
Loading…
Add table
Reference in a new issue