-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] $status not passed to prompt #75
Comments
i have experienced same issue,i think it's related to 23e416f have temporary solution by using specific commit a89bf42 like: # _Don't forget to remove master version before install specific commit_
fisher remove acomagu/fish-async-prompt
fisher install acomagu/fish-async-prompt@a89bf4216b65170e4c3d403e7cbf24ce34b134e6 |
itsfarseen
added a commit
to itsfarseen/dotfiles
that referenced
this issue
Mar 29, 2024
Breaks $status in prompt acomagu/fish-async-prompt#75
It looks like ┌[maciej@alpha]-[~]
└$ sleep 3 &
┌[maciej@alpha]-[~]
└$ sleep 3 &
┌[maciej@alpha]-[~]
└$
fish: Job 1, 'sleep 3 &' has ended
┌[maciej@alpha]-[~]
└$
fish: Job 2, 'sleep 3 &' has ended
┌[maciej@alpha]-[~]
└$ Same behavior is observed while using Expected behavior (mine transient prompt is [22:16:59]-$ sleep 3 &
[22:16:59]-$ sleep 3 &
┌[maciej@pi]-[~]
└[✦2]-$
fish: Job 1, 'sleep 3 &' has ended
┌[maciej@pi]-[~]
└[✦]-$
fish: Job 2, 'sleep 3 &' has ended
┌[maciej@pi]-[~]
└$ |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I did:
fisher install acomagu/fish-async-prompt
set -U async_prompt_inherit_variables all
, then restart fish (the bug existed even before this)No matter what the return code is, it will always give a return code of 1.
I'm just using the default fish prompt.
To demonstrate, here's a simple function:
Testing:
Notice how the status is always 1.
The text was updated successfully, but these errors were encountered: