ublue-os / toolboxes

Centralized repository of containers designed for Toolbox/Distrobox
Apache License 2.0
42 stars 10 forks source link

feat: powershell toolbox improvements #94

Closed lambdaclan closed 1 month ago

lambdaclan commented 1 month ago

Improve PowerShell toolbox experience

Relates to #11

Description

Improve the UX experience of the new PowerShell toolbox.

Proposed Changes

Notes

The initial launch of pwsh will take longer than usual since some utils need to be downloaded.

lambdaclan commented 1 month ago

I think this is now ready for merge. Since the last review I made some adjustments.

I was particularly worried about copying the PowerShell profile to the user home since the user might already have a profile. If used with distrobox without a custom home that could have overridden their custom profile. Now I am correctly using the top level profile that will only get executed if the user does not already have any profiles.

Furthermore, keeping the same thought as above I changed the folder where the shell themes get installed to avoid polluting the user's home directory.

Lastly, I did some config updates to the history viewer to display more results out of the box.

It would be great if someone can test this to get some feedback but for me, it works quite well as an initial template that can be extended later on.