We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[no errors are output in my issue]
PS Version: 7.3.4 PS HostName: ConsoleHost (Windows Terminal) PSReadLine Version: 2.3.4 PSReadLine EditMode: Windows OS: Windows 11 BufferWidth: 172 BufferHeight: 32
The Alias dir which is by default is assigned to get-childitem cannot be repurposed by the user to something else, of their own choosing.
dir
get-childitem
space
tab
PsReadline suggests get-childitem parameters instead of the parameters for get-process such as filepath.
get-process
filepath
The alias is bound to get-process, which can be confirmed by just executing dir.
I have been having this issue with older PsReadline versions too.
Of course, it makes no sense to assign dir to get-process, its just an example, I want to use dir for my own command. Cheers
When I use dir, I am expecting the parameters for get-process to be suggested instead of get-childitem
[I dont understand this section]
The text was updated successfully, but these errors were encountered:
Transferring to CompletionPredictor repo, this module may not unwrap the aliases properly to get the right tab completion.
Sorry, something went wrong.
No branches or pull requests
Prerequisites
Exception report
[no errors are output in my issue]
Screenshot
Environment data
Steps to reproduce
The Alias
dir
which is by default is assigned toget-childitem
cannot be repurposed by the user to something else, of their own choosing.dir
alias with `Remove-Alias -Name dirdir
to another command `set-alias -Name dir -Value start-processdir
thenspace
and try totab
to get parameter suggestionsPsReadline suggests
get-childitem
parameters instead of the parameters forget-process
such asfilepath
.The alias is bound to
get-process
, which can be confirmed by just executingdir
.I have been having this issue with older PsReadline versions too.
Of course, it makes no sense to assign
dir
toget-process
, its just an example, I want to usedir
for my own command. CheersExpected behavior
When I use
dir
, I am expecting the parameters forget-process
to be suggested instead ofget-childitem
Actual behavior
[I dont understand this section]
The text was updated successfully, but these errors were encountered: