I perform a recursive search to find a command I executed few days back and I want to run it. However that command should run from the path from where I ran it previously from and not where I currently am.
Is it possible for
zshto figure this out and change the command to the full path and run from my current path? or maybe fork a process switch to the original path run it and come back?