-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
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
Directory Elvish is launched from doesn't seem to be added to location history #1809
Comments
Indeed feels like a bug to me, should be easy to fix. |
thanks, lmk if you would like any help! |
It won't bother me too much if the behavior is changed but I do not expect starting an interactive Elvish process to update location history with the CWD when that process began. I only expect it to update location history when Elvish explicitly changes location; i.e., the CWD. If you do something like this do you really want the location history to reflect that the CWD was updated a hundred times in the location history even though the location wasn't changed by either shell?
Note that I'm assuming the user immediately exits the sub-shell by pressing Ctrl-D or typing |
@krader1961 - I'm just missing being able to do |
So the thing about location history is it only includes directories you have actively made the CWD. The CWD when you start an interactive Elvish shell does not count as a deliberate change to a new directory. At least not unless the project owner decides to change the current, long standing, behavior. You should be able to get the behavior you expect by typing
|
Thanks for the code @krader1961. I understand what you're saying, but fyi Searching a little finds someone else asking for this in #434 and #1043, and a little in #1414. Closing, as this looks like a dead end of discussion as well as duplicative. |
FWIW, My What shouldn't happen is the equivalent of |
Huh, I hope my comment was clear that I think the behavior should be changed. |
🙇🏼♂️ |
What happened, and what did you expect to happen?
Fresh install, just trying it out - trying the location history:
expect it to find a. Didn't for me.
Output of "elvish -version"
0.20.1
Code of Conduct
The text was updated successfully, but these errors were encountered: