Open FWest98 opened 2 years ago
The error Tried to change the read-only variable “status_generation”
is fixed at fcc8c25. Cloud you update the plugin and try async_prompt_inherit_variables all
again?
If any problem still remains, please reopen. Thank you!
I still experience some issues with oh-my-posh. To be specific:
Error: invalid argument "--execution-time" for "-e, --error" flag: strconv.ParseInt: parsing "--execution-time": invalid syntax
oh-my-posh seems to be using global variables. fish-async-prompt doesn't currently support such prompt functions, as we have not come up with a way to make it work. I'm sorry.
I have little understanding of what the code in this module does, but I do know that it is incompatible with the oh-my-posh prompt. To be specific, for some reason the variable
$omp_status_cache
seems to be empty, causing an invalid argument to be passed to the OMP executable here: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/src/shell/scripts/omp.fish#L32When I try to set
async_prompt_inherit_variables all
, I get even more issues (set: Tried to change the read-only variable “status_generation”
). Would you maybe have an idea what is happening here?