Skip to content

Conversation

@steve02081504
Copy link

@steve02081504 steve02081504 commented Jan 7, 2024

Allows the user to handle $FileInfo.Target before displaying it.

Description

Allows the user to process $FileInfo.Target before displaying it.

Related Issue

#123

Motivation and Context

I'd like to be able to provide additional interfaces to allow other code to hook Resolve-Icon with respect to symlink/junction handling.

Example:
image
My profile treats the root path of msys as / and would like to be able to hook code to change -> E:\msys\usr\bin to -> /usr/bin

Extra example:
image
I wish I could show it as ~/Documents/workstation/ instead of the full path, by a hook

How Has This Been Tested?

https://github.com/steve02081504/Terminal-Icons/actions/runs/7438998284
CI works

Screenshots (if appropriate):

图片

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Allows the user to handle `$FileInfo.Target` before displaying it.
@steve02081504 steve02081504 marked this pull request as ready for review January 7, 2024 15:27
@steve02081504
Copy link
Author

@devblackops just a friendly ping 😌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant