Prompt doesn't show immediately in new shell in fish 4.0
Describe the bug
Practically the same as #171
Steps to reproduce
- Have fish 4.0
- 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.
I have a very similar issue.
On start, my shell displays:
After I hit enter it renders correctly:
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
How can this be fixed?
tide is unusable with this bug.
How can this be fixed?
tideis 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
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
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?
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
My steps to reproduce:
- Create symlink to the
fish_variablesfile:ln -s ~/git/.dotfiles/fish/fish_variables ~/.config/fish/fish_variables - Install
tide:fisher install IlanCosman/tide@v6
- If
tideis not installed, the bug doesn't occurs. - If
fish_variablesis a regular file, the bug doesn't occurs. config.fishandfish_pluginscould 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.