-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.
Description
Summary of the new feature / enhancement
Hello
Having play with predictors I feel the need for a new feature.
It seems actually impossible to get the location of the shell calling the predictor, which is very limiting considering how useful it could be.
As an example, if I had the location, I could easily create a predictor suggesting the local git branches after git checkout
Proposed technical implementation details (optional)
IMO this value should be present in the PredictionClient, or at least I should have access to the PID of the shell. (client.Name only return PSReadLine)
How exactly do that ? No idea ^^, But I think it would be a change somewhere in PSReadLine
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.