You are not logged in.
I'm using Zsh and I want to use community/starship, so I followed the Readme's instructions to set it up. Specifically, I installed the package, installed a Nerd font (aur/nerd-fonts-fira-code) and added the eval command in my .zshrc. Unfortunately, the prompt is still the Zsh default one.
My ~/.zshrc: http://ix.io/3Qn4
Executing that eval command I can see it produces output. Also, running zsh --verbose I can see it gets evaluated on start up. I have also deleted ~/.cache/starship.
I have no idea what to do next. Thank you.
Last edited by icar (2022-02-22 19:52:40)
Offline
What's the output of "starship init zsh" and what if you evaluate that stanza (from a running zsh)?
I could see interference from this block
# Autosuggestions
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Highlighting Fish-like
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# fzf tab
source /usr/share/zsh/plugins/fzf-tab-git/fzf-tab.plugin.zsh
setopt prompt_subst
autoload -U promptinit; promptinitso try to comment that.
Offline
What's the output of "starship init zsh" and what if you evaluate that stanza (from a running zsh)?
I could see interference from this block# Autosuggestions source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # Highlighting Fish-like source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # fzf tab source /usr/share/zsh/plugins/fzf-tab-git/fzf-tab.plugin.zsh setopt prompt_subst autoload -U promptinit; promptinitso try to comment that.
I assume that "promptinit" is the conflicting part. Don't comment the first if you still want autosuggestions...
I commented both "setopt prompt_subst" and "autoload -U promptinit; promptinit" but nothing changed.
Offline
And the other source's in the block?
(In case that's not clear: we're trying to get rid of the suspicious stuff to establish a working base, then narrow down the conflict from there and then figure how to resolve it)
Offline
^I agree, also what's inside
~/.config/bash-palette.sh?
Alright, checking "zsh -x" one can see there are GRML commands from /etc/zsh/zshrc. Then, I checked which package provided that and apparently I had installed "grml-zsh-config". It apparently interferes with starship but not with spaceship-prompt (which I had installed and I used for so many time), so I had never noticed during all this time.
I think this is a packaging issue, then, as grml-zsh-config should conflict with starship.
EDIT:
[2020-11-17T12:32:54+0100] [ALPM] installed grml-zsh-config (0.17.4-1)Last edited by icar (2022-02-22 19:55:09)
Offline