Skip to content
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

False-positive initialization errors possible when opening multiple sessions simultaneously #8

Closed
olets opened this issue Mar 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@olets
Copy link
Owner

olets commented Mar 7, 2020

When multiple sessions are initializing at the same time, it's possible for the initializations to collide. Common symptoms are one terminal giving the error

util_add:source:45: no such file or directory: …/zsh-user-global-abbreviations

and another terminal giving for each user abbreviation the warning

abbr add: A matching abbreviation … already exists

These are false positives: in my testing, all sessions do end up with all the user abbreviations available.

Until this is addressed, users can work around it by letting one session load before opening another.

@olets olets changed the title Initialization errors possible when opening multiple sessions simultaneously False-positive initialization errors possible when opening multiple sessions simultaneously Mar 7, 2020
@olets
Copy link
Owner Author

olets commented Mar 7, 2020

Fixed in 3.0.1. Still theoretically possible, but I have successfully opened ten sessions "simultaneously" (iTerm, cmdd ten times in rapid succession)

@olets olets closed this as completed Mar 7, 2020
@olets olets added this to zsh-abbr Jul 29, 2024
@olets olets moved this to Done in zsh-abbr Jul 29, 2024
@olets olets added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant