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

[BUG] Fig crashes PyCharm's terminal, if used with ZSH + zsh-syntax-highlighting plugin #38

Closed
jpuris opened this issue Mar 4, 2021 · 3 comments
Labels
type:bug Something isn't working

Comments

@jpuris
Copy link

jpuris commented Mar 4, 2021

Summary:
PyCharm's (And most likely all other Intellij app) terminal windows crash, if Fig is used with ZSH + zsh-syntax-highlighting plugin. This happens even if Fig is disabled.

Commenting following line in ~/.zshrc, fixes the problem

#### FIG ENV VARIABLES ####
[ -s ~/.fig/fig.sh ] && source ~/.fig/fig.sh
#### END FIG ENV VARIABLES ####

Steps to Reproduce:

  1. Install fig
  2. Use oh-my-zsh
  3. Use zsh-syntax-highlighting plugin
  4. Open PyCharm
  5. Open Terminal (ALT + F12)
  6. Type something in terminal prompt

Expected Results:
Terminal window works as expected and the input is displayed.

Actual Results:
Terminal window will close (zsh crashes)

System information:
OS: MacOS Big Sur 11.2.2
Version of PyCharm 2020.3.3 (Professional Edition), Build #PY-203.7148.72, built on January 27, 2021
Version of Fig: 1.36 (B139)
Git commit of Oh-my-zsh 9a9f3831925432fdf4352c24a002506a06d329c1
Git commit of zsh-syntax-highlighting 205bc7ea199cfd4cded51d465baad63b3d7f3aad

Additional Notes:
Fig app can be shut down or running, this makes no difference.

I hope someone with similar setup will be able to reproduce the issue.

@brendanfalk
Copy link
Member

Crazy - let us look into it. Will try and push fix today!

@brendanfalk
Copy link
Member

Should've been fixed in build that went out today. Closing the issue, feel free to re-open if problem persists. Thanks so much for reporting :)

@bfelbo
Copy link

bfelbo commented Mar 2, 2022

@brendanfalk I'm having this issue with WebStorm as well. Uncommenting the lines associated with Fig in ~/.bash_profile solves the issue. It seems to have occurred out of nowhere as I couldn't get Fig to work with WebStorm earlier, but it didn't crash my terminal.

I've just tried reinstalling with Fig 1.0.55,383 from Homebrew, but doesn't seem to be solved in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants