You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The directory frequency should not be incremented if the user leaves the directory right away and probably did not intend to go there. This sequence should not give the first directory a higher priority, because it's obvious that it was not the intended destination:
$ z ff
# goes to ~/repo/MyProject/.git/objects/ff$z ffm
# goes to ~/repo/ffmpeg which is what was intended all along
The algorithm I suggest for removing the increment from accidentally incremented directories is:
Was $OLDPWD incremented within the previous minute?
Was this shell's previous search also a match for the new target?
If the above are true, the previous search was probably meant for this target rather than $OLDPWD and $OLDPWD should be decremented.
The text was updated successfully, but these errors were encountered:
The directory frequency should not be incremented if the user leaves the directory right away and probably did not intend to go there. This sequence should not give the first directory a higher priority, because it's obvious that it was not the intended destination:
The algorithm I suggest for removing the increment from accidentally incremented directories is:
The text was updated successfully, but these errors were encountered: