-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
🤩 enhancementImprovement of a featureImprovement of a feature
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
What would you like to see changed?
Since removing the oh-my-posh init nu command doesn't remove the autoload script / doesn't stop OMP's script from running, this should probably be handled. Here are some suggestions:
- Have the OMP script delete itself after running, so it needs to be remade by
oh-my-posh init nuevery time. Other than the extra IO this causes, this seems like the best option to me. - Wrap the Nu script with something like this:
if (which oh-my-posh | is-not-empty) {}
Not the best option by itself, since the user may still have OMP installed despite removing the init script. - Mention in OMP's documentation that the script needs to be manually deleted to disable it.
- Have a command specifically for deleting the script.
oh-my-posh delete-nu?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🤩 enhancementImprovement of a featureImprovement of a feature