acomagu / fish-async-prompt

Make your prompt asynchronous to improve the reactivity.
MIT License
389 stars 22 forks source link

Prompt not updating #70

Closed limaceous-bushwhacker closed 8 months ago

limaceous-bushwhacker commented 8 months ago

Issue Description: When utilizing the zi (zoxide interactive) command as a keybinding, the prompt does not update or repaint to reflect the changes in the current directory.

Steps to Reproduce:

  1. Install zoxide and set it up with fish.
  2. Bind zi to a key similar to: bind \e\cz "__zoxide_zi; commandline -f repaint"
  3. Navigate to a directory using the keybinding.
  4. Observe that the prompt does not update to show the new directory.

Expected Behavior: The prompt should automatically update to reflect the current working directory after using the keybinding.

ilyagr commented 1 month ago

Did you find a fix? I have a similar problem with #77

ilyagr commented 1 month ago

I found a workaround, see https://github.com/acomagu/fish-async-prompt/issues/77#issuecomment-2132709455.