tide icon indicating copy to clipboard operation
tide copied to clipboard

Prompt not loading correctly initially

Open jake8655 opened this issue 3 years ago • 4 comments

Describe the bug

The prompt shows "..." after starting a new instance of fish

Steps to reproduce

  1. Download and configure Tide
  2. Restart your terminal emulator and the prompt should be "..."
  3. Type any command and hit enter and the prompt magically starts working again

Screenshots

Initially: Screen Shot 2022-09-01 at 13 13 30

After any command: Screen Shot 2022-09-01 at 13 15 33

Environment

Output of tide bug-report:

fish version: 3.5.1
tide version: 5.4.0
term: xterm-256color
os: macOS 11.1
terminal emulator: Iterm2
fish startup: 90.26 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v5

Additional context

When I first started using Tide it worked like a charm. This only started happening about a week after using Tide without any problems.

I have tried the following:

  1. Rerunning the tide configuration
  2. Reinstalling tide
  3. Reinstalling fisher
  4. Reinstalling fish (with Homebrew)
  5. Restarting my computer

jake8655 avatar Sep 01 '22 11:09 jake8655

Same thing is happening to me on a local docker container, I do a docker exec fish and I get no prompt, hit enter and the prompt is there.

hanoii avatar Apr 01 '24 02:04 hanoii

For some reason this started to work just fine, using v6 so not sure. The one situation where I found this is if I am configuring it on a conf.d/foo.bar.fish. In that case the first time it's blank while an enter activated it. I then added a simple flag flag so I don't reconfigure it on each start.

hanoii avatar Apr 03 '24 18:04 hanoii

I am still seeing this happening randomly

hanoii avatar May 31 '24 02:05 hanoii

There could be something in your config.fish that should only run in non-interactive mode, as this configuration runs on every shell start and both Fisher and Tide have asynchronous behavior.

jorgebucaran avatar May 31 '24 03:05 jorgebucaran