Open
Description
Prerequisites
- Write a descriptive title.
Description of the new feature/enhancement
Include the current location (working directory) as part of history so that predictions based on history would show commands used from that location previously. If nothing is found, then fallback to current strategy.
Example:
> cd ~/repos/powershell
~/repos/powershell> git re
# prediciton would be something like: git reset --hard upstream/master
> cd ~/repos/somethingelse
~/repos/somethingelse> git re
# prediction would be something like: git reset --hard upstream/main
# in this example, you use `main` instead of `master` branch
Proposed technical implementation details (optional)
No response