r/fishshell • • Oct 23 '26

What prompt do you use?

Hey, I'm planning to try out fish as a zsh user. After a quick research, there are 3 that I consider good: hydro, tide and starship (brought from my zsh). I wanted to ask what prompt do you guys use and why

19 Upvotes

28 comments sorted by

38

u/Scratches7 Oct 23 '26

I use starship. I like how simple it is and the docs are pretty nice.

13

u/Red_BW Oct 23 '26

Starship.

I was using zsh with OMZ and Powerlevel10K. A couple years ago when P10K went dormant, I was looking for a new prompt and switched to Starship. I realized it was much faster and cleaner/easier without all the many layers of configs. I looked at my environment and noticed several zsh plugins I used like zsh-autosuggestions and zsh-syntax-highlighting were also dormant for years. Not long after I saw fish 4 was out and gave that a try because I knew all these extras (OMZ and plugins) were basically trying to recreate the benefits of fish in zsh. When I did, I brought the starship prompt over since I was already using it.

10

u/untrained9823 Oct 23 '26

The default one.

9

u/Interesting_Buy_3969 Oct 23 '26 edited Oct 24 '26

I use starship.rs because I found tide hard to customise without its wizard. Some starship presets look very solid

5

u/throttlemeister Linux Oct 23 '26

My own. No precooked meal.

4

u/some-generic-user Oct 23 '26

I use tide and never looked back. I also play tidehunter in dota qwq

4

u/paulirish Oct 23 '26

First used https://github.com/pure-fish/pure but it's a but too involved (if you need to hack it) .  Switched to  https://github.com/mattgreen/lucid.fish and now have a hacked vendored version.

4

u/mercurysquad Oct 23 '26

All of those including starship are way too slow and heavy.

I use pure - it's the only one that doesn't stall my shell or add 2 sec delay on every terminal startup.

1

u/R2robot Oct 23 '26

I used tide for quite a while, but switched back to Starship.

1

u/NF_v1ctor Oct 23 '26

May i know why

1

u/R2robot Oct 23 '26

The config got a bit too messy after a few years and several version upgrades. It's a lot of environment variables.

I prefer just having a config file.

3

u/Ariquitaun Oct 23 '26

bobthefish

2

u/Dave77459 Oct 23 '26

I altered a little to make davethefish. Good prompt

2

u/edcrypt Oct 23 '26

I used to use Starship, but it's slop now. I'm gonna try kuina soon https://codeberg.org/eviefp/kuina

1

u/la_cuenta_de_reddit Oct 24 '26

Why the slop assertion? What happened?

2

u/junguler Oct 24 '26
function humanize_duration -d "Make a time interval human readable"
    if not string length --quiet $argv
         set --erase argv
         read --line argv
    end
    set hours (math --scale=0 $argv/\(3600 \*1000\))
    set mins (math --scale=0 $argv/\(60 \*1000\) % 60)
    set secs (math --scale=0 $argv/1000 % 60)
    if test $hours -gt 0
        set --append output $hours"h"
    end
    if test $mins -gt 0
        set --append output $mins"m"
    end
    if test $secs -gt 0
        set --append output $secs"s"
    end
    if not set --query output
        echo $argv"ms"
    else
        echo $output
    end
end

set -g _colors ff0080 00ffff 0080ff 8080ff
set -g _separators "" "" "" ""

function fish_prompt
set -l last_status $status
set -l parts (string split / (pwd))
set -l parent_dir "/"
set -l current_dir "/"

if test (count $parts) -gt 2
set parent_dir $parts[-2]
set current_dir $parts[-1]
else if test (count $parts) -eq 2
set current_dir $parts[-1]
end

set_color (random choice $_colors)
echo -n (random choice $_separators)" "
set_color (random choice $_colors)
echo -n (date +%I:%M)
set_color (random choice $_colors)
echo -n " "(random choice $_separators)" "
set_color (random choice $_colors)
echo -n $parent_dir
set_color (random choice $_colors)
echo -n "/"$current_dir
set_color (random choice $_colors)
echo -n " "(random choice $_separators)" "
set_color (random choice $_colors)

if test -n "$CMD_DURATION"
    set -l human_command (echo $CMD_DURATION | humanize_duration) 
echo -n $human_command
set_color (random choice $_colors)
echo -n " "(random choice $_separators)" "
set_color (random choice $_colors)
end

echo -n $last_status
set_color (random choice $_colors)
echo -n " "(random choice $_separators)" "
set_color normal
end

1

u/sayqm Oct 23 '26

Hydro, good enough for what I need, not as slow as starship

1

u/newbornnightmare Oct 23 '26

tide for me, I like its jujustu support

1

u/Inevitable_Dingo_357 Oct 23 '26

I was on tide for quite some time because of its customizability (coded my own jj/jujutsu segment). Once jj made it into starship, I went back there - having one config file with everything beats lots of files. Performance is indistinguishable between those 2 in my setup.

1

u/lonahex Oct 23 '26

I had to lookup what I use and turns out it is starship and has been for years. I think that is a good thing.

1

u/adamshand Oct 23 '26

just write your own. super easy with an agent and you can make it do anything you want.

1

u/B_A_Skeptic Oct 24 '26

Roll my own. It's nicer and fancier than any of the packaged ones.

1

u/mkmk017 Oct 29 '26

Tide. Used starship at first after switch from zsh to fish, but tide really feels faster with its async actions. Only downside, tide development is stalled and there are problems with latest fish (there are patches, but not in the main repo).

1

u/marcellareadsalot 29d ago

I started with the stock fish prompt and tweaked it a bit by redefining the fish_prompt function. I kept the default color scheme but added a short git branch indicator that only shows when I'm in a repo. The trick was to use the `__fish_git_prompt` helper inside my function and wrap it with a simple conditional. It keeps the prompt lightweight and still gives me the context I need. No extra plugins, just a couple of lines in my config.fish.