-
Notifications
You must be signed in to change notification settings - Fork 832
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
rm: .tool-versions.bak: No such file or directory #515
Comments
I'm on the same version of OSX, and I've got a similar setup, but I've not come across that issue. What happens if you run those |
Running those commands in a shell results in no error. The error only occurs when iTerm is restoring a session. |
This is quite weird, I suppose we could add Also, why you have |
Yes, if our code is being executed as it should Echo what @danhper said, if you want to get things working just don't use |
It is due to a race condition, the following can trigger the error in a
|
Yes, that would definitely cause problems. And it may not be just asdf, it may be caused by |
Ok, so I suppose the issue with iTerm restoring the session is that it runs multiple shells (one per tab I suppose) at the same time and there is therefore a race condition. |
Steps to reproduce
Expected behavior
The terminal window to open after login with no error messages.
Actual behavior
The following messages appear:
Sometimes it does not appear, most commonly it appears only once and not twice.
Environment
OS: macOS 10.14.4 (18E226)
asdf version: 0.7.1
iTerm2 3.2.7
fish 3.0.0
I have the following in my
config.fish
file:I think it could be related to this:
asdf/lib/commands/version_commands.sh
Line 41 in 1d43a05
The text was updated successfully, but these errors were encountered: