badmotorfinger / z

Save time typing out directory paths in PowerShell by jumping around instead.
The Unlicense
434 stars 33 forks source link

Use Register-ArgumentCompleter when possible. #66

Closed cdonnellytx closed 6 months ago

cdonnellytx commented 6 months ago

This changes makes z register its tab completion by using the built-in Register-ArgumentCompleter cmdlet when it is available (PowerShell 5.0 and later), falling back to previous tab completion registration on earlier versions.

badmotorfinger commented 6 months ago

Thank you for this contribution! Will review shortly.

badmotorfinger commented 6 months ago

Thanks Chris for your contribution.

Change has been published to the PowerShell module repository as a .14 release version.

On Friday, 17 May 2024 at 4:12 AM, Chris Donnelly @.***> wrote:

This changes makes z register its tab completion by using the built-in Register-ArgumentCompleter cmdlet when it is available (PowerShell 5.0 and later), falling back to previous tab completion registration on earlier versions.


You can view, comment on, or merge this pull request online at:

https://github.com/badmotorfinger/z/pull/66

Commit Summary

  • 10251db Use Register-ArgumentCompleter when possible.

File Changes

(1 file)

Patch Links:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>