tide icon indicating copy to clipboard operation
tide copied to clipboard

Prompt doesn't show immediately in new shell in fish 4.0

Open Tom5521 opened this issue 7 months ago • 7 comments

Describe the bug

Practically the same as #171

Steps to reproduce

  1. Have fish 4.0
  2. Run a new shell

Screenshots

It has the same behavior as the issue mentioned above

Environment

Output of tide bug-report:

fish version: 4.0.2
tide version: 6.1.1
term: xterm-kitty
os: Arch Linux
terminal emulator: Kitty
fish startup: 27.24 millis
fisher plugins: jorgebucaran/fisher

Additional context

I was able to verify that it only applies to fish 4.0 because, after downgrading to fish 3.7, the bug no longer appeared.

Tom5521 avatar May 17 '25 18:05 Tom5521

I have a very similar issue.

On start, my shell displays:

Image

After I hit enter it renders correctly:

Image

Output of tide bug-report:

fish version: 4.0.2
tide version: 6.1.1
term: alacritty
os: NixOS 25.11.20250520.2795c50 (Xantusia)
terminal emulator: Alacritty
fish startup: 73.05 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v6 franciscolourenco/done patrickf1/fzf.fish meaningful-ooo/sponge decors/fish-colored-man jorgebucaran/autopair.fish lewisacidic/fish-git-abbr

magnetophon avatar May 24 '25 18:05 magnetophon

How can this be fixed? tide is unusable with this bug.

deadnews avatar Sep 01 '25 20:09 deadnews

How can this be fixed? tide is unusable with this bug.

I don't know, I've reinstalled my arch Linux (with fish >= 4.0) and the problem disappeared

Now, I really don't know how to replicate this bug 😅

UPDATE: Just playing around, I've uninstalled tide and fisher to test something, once I installed it again, the bug came back! WTH

Tom5521 avatar Sep 01 '25 20:09 Tom5521

Playing around (again) I found that if the tide configuration is explicitly declared in the fish configuration, the bug occurs.

https://github.com/user-attachments/assets/4b1b3e7e-0b00-4178-943d-47351149879d

Tom5521 avatar Sep 01 '25 22:09 Tom5521

Playing around (again) I found that if the tide configuration is explicitly declared in the fish configuration, the bug occurs.

I don't get it: why is Tide prompt displayed when you remove the explicit declaration in fish configuration?

neurolit avatar Sep 23 '25 12:09 neurolit

I don't get it: why is Tide prompt displayed when you remove the explicit declaration in fish configuration?

When you configure it through tide configure, the configuration is saved in ~/.config/fish/fish_variables

Tom5521 avatar Sep 29 '25 18:09 Tom5521

My steps to reproduce:

  • Create symlink to the fish_variables file: ln -s ~/git/.dotfiles/fish/fish_variables ~/.config/fish/fish_variables
  • Install tide: fisher install IlanCosman/tide@v6

  • If tide is not installed, the bug doesn't occurs.
  • If fish_variables is a regular file, the bug doesn't occurs.
  • config.fish and fish_plugins could be symlinks without causing a problem.
$ fish --version
fish, version 4.1.0

I found that if the tide configuration is explicitly declared in the fish configuration, the bug occurs.

I never have tide config in my config.fish.

If I put the tide configure ... command in config.fish, the bug occurs. However it is slightly different: it also clears the terminal screen before the empty prompt is shown (like a clear command). The symlink is only causing the empty prompt without clear.

deadnews avatar Sep 30 '25 06:09 deadnews