Starship prompt for zsh - need help installing

I was trying to install this starship shell using this method

but when I try to run my terminal it returns me to the default terminal promt.
Is there any way to install it i switched from ubuntu where i just had to install it and edit the bash config but when I tried it here it didnt work.

Are you sure, that your shell is bash?

echo $SHELL

its zsh and the shows a way for zsh

Then your title is misleading.

But I guess that means you installed otf-fira-code and starship and added the relevant eval line to ~/.zshrc, executed source ~/.zshrc, and it does not work ?

I will try it again

And I guess thats a ‘no’ :sweat_smile:

just tried it again following the examples from the link.
using source ~/.zshrc EDIT: just found the way to edit it but i dont know what and where to write it
it just shows me this

USE_POWERLINE="true"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
  source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
  source /usr/share/zsh/manjaro-zsh-prompt
fi

Trying to install otf-fira-code just get me an error target not found

yup … just checked and those instructions are wrong.
In the AUR otf-fira-code-git exists though.

I any case … you need to handle the packages before you can attempt to use the things.

Its the same as you did on ubuntu, except you do it to the .zshrc file instead of .bashrc

edit the file … adding the instruction lines to the bottom, then use source ~/.zshrc to absorb the new settings.

Configuring Zsh on Manjaro using Starship Theme![Noob Edition] | by Deekshith Anand | Medium is this a better way of installing it?

I dont know what the issue for you is … aside from the different package manager and package name … the other instructions work.
And no - this new blog intends for you to install things manually rather than through system packages and assumes things not pertinent to your system.

every thing I see is saying change something like the THEME in zshrc but I dont see that anywhere my zshrc file just shows this

SE_POWERLINE="true"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
  source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
  source /usr/share/zsh/manjaro-zsh-prompt
fi

Yes, you already posted your .zshrc, it’s the Manjaro default. You do know you can edit it, right? :wink:

Your posts have been edited, see below. :point_down:


Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

Please edit your post accordingly.

1 Like

thank you for that but I know I can edit it I tried but it wont work it says add
eval "$(starship init zsh)"
And use
source ~/.zshrc
but nothing changes

And just asking is my terminal supposed to looked like sniped off
Screenshot
like this?

If you’re having that much trouble, maybe you should learn the basics of BASH before you use ZSH or Starship.

It wasn’t like that before, was it? What did you do right before it changed?

No it was like that for the start when I installed manjaro like 3 months ago I just thought it was normal

Ground Control to Major Male
Your circuit’s dead, there’s something wrong
Can you hear me, Major Male?

It doesn’t appear you’ve followed all the instructions. We can’t help if we don’t know what you’ve done or haven’t done.

2 Likes

Ground Control to Major Male
Your circuit’s dead, there’s something wrong
Can you hear me, Major Male?
-Love this

And found out whats the problem was I just needed to use curl and not wget.
Thank you for putting up with me being an idiot @megavolt, @cscs and for not burning me at the stake @Yochanan

1 Like

Check ignition and may God’s love be with you…

…two, one, liftoff :rocket:

2 Likes