badmotorfinger / z

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

Autocomplete only directory names #60

Closed ozankececioglu closed 1 year ago

ozankececioglu commented 1 year ago

Hi,

I've been using z for a while and I love it.

I had one tiny annoyance, cd (and pushd) normally autocompletes only to directory names, so no files in the completion list. This was not the default behavior for cdx, pushdx and z functions. So I've added a ArgumentCompleter for necessary parameters, they behave like original Set-Location when tab is pressed.