-
Notifications
You must be signed in to change notification settings - Fork 111
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
Message printed to iTerm2 after every input #499
Comments
I'm also running into this same issue:
|
Those error messages seem to only happen when the terminal window is small enough such that the working directory path gets abbreviated. |
TL;DR: are you using a pristine I have the same issue but this is because I modified
So I had the following diff:
This breaks the logic for shortening path when it can't be displayed because the length of the prompt is larger than the terminal (minus other left and right prompt, which in tide is the The reason is that the logic tries to disambiguate by globing in each subdirectory, to truncate to a unique prefix AFAICT. IT has a strong assumption than when globing $ set -e someval[(contains -i fruit carot potato cabbage)]
set: --erase: option requires an argument
(Type 'help set' for related documentation) With that simple repro, you can devise a fix, by just adding a $ set -e someval[(contains -i fruit carot potato cabbage | echo)] In conclusion, for me, the problem was solved with the following additional diff.
Feature requestFor @IlanCosman (thanks for Tide, it's amazing!) maybe you can add the Alternatively, it would be nice to have an option to disable the disambiguation logic, as the glob can be costly for non-local, non-sparse directories. Finally, I tried to clone the directory and worked on this issue by running |
Describe the bug
After entering a git directory, every command/input entered into iTerm 2 yields the following message printed:
Typing "help set" directs me back to the most recent existing open browser tab
Steps to reproduce
Screenshots
Video:
https://github.com/IlanCosman/tide/assets/51752036/7d7c0be6-f3e3-46dc-826c-40b8c49a85cd
Environment
Output of
tide bug-report
:Additional context
The text was updated successfully, but these errors were encountered: