You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue is mostly described above. I tried investigating the cause and I think that this happens because my fish prompt (Tide) calls fish when rendering the prompt, causing fnm env --use-on-cd | source to run. If the terminal is resized quickly enough the rendering of the prompt may be cancelled, which apparently orphans the fnm process, preventing it from finding any shell in its process tree. Currently my solution is to manually set the shell type, but it does not feel ideal (and I don't really know which of the three involved projects should this issue be filed on).
One related grudge is that when there are any errors (such as when the node version from .node-version is not installed) they get logged each time the prompt renders (because the script generated by fnm env --use-on-cd calls the cd hook when sourced), breaking the prompt/making it appear twice.
I wanted to fix both of these myself but none of the solutions I tried were very practical outside of my particular setup, hence this isn't a PR as I originally intended.
The text was updated successfully, but these errors were encountered:
My issue is mostly described above. I tried investigating the cause and I think that this happens because my fish prompt (Tide) calls fish when rendering the prompt, causing
fnm env --use-on-cd | source
to run. If the terminal is resized quickly enough the rendering of the prompt may be cancelled, which apparently orphans thefnm
process, preventing it from finding any shell in its process tree. Currently my solution is to manually set the shell type, but it does not feel ideal (and I don't really know which of the three involved projects should this issue be filed on).One related grudge is that when there are any errors (such as when the node version from .node-version is not installed) they get logged each time the prompt renders (because the script generated by
fnm env --use-on-cd
calls thecd
hook when sourced), breaking the prompt/making it appear twice.I wanted to fix both of these myself but none of the solutions I tried were very practical outside of my particular setup, hence this isn't a PR as I originally intended.
The text was updated successfully, but these errors were encountered: