-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
[BUG]: vfox 在iterm2中出现无法在会话中切换环境版本 #294
Comments
贴一下debug日志.
你用的zulu吗 |
下面是频繁创建目录的录屏 Screen-2024-05-28-150009.mp4 |
你用的这是什么shell, 正常来说这个临时目录只会在第一次打开shell的时候创建. |
zsh + iterm2 + omzsh + starship |
我试了下排除法,只要不用iterm2就可以。。。很奇怪 |
看起来是iterm2出了什么问题,退出重启iterm2恢复正常了 |
试了很多次,包括重装iterm2,还是会出现这种情况,不知道还有没有其他使用iterm2的朋友遇到这种 |
此问题出现的原因是有一些命令行智能补全工具,例如 |
新版本发布前的临时解决方式是使用下方的初始化脚本控制vfox的初始化时机 if [[ -z "$__VFOX_PID" ]]; then
eval "$(vfox activate zsh)"
fi |
closed by #311 |
Version
0.5.3
OS
macOS
Describe the bug
使用vfox u -g java设置全局版本后,在会话中使用vfox u java临时切换版本无效
并且观察到在控制台只要有命令执行,并没有使用vofx命令vfox也会一直在temp下创建临时目录
Screenshots[optional]
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: