withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

thread 'main' panicked at 'called .... #1756

Open edu8591 opened 2 years ago

edu8591 commented 2 years ago

Description:

Please include a detailed description of the issue (and an image or screen recording, if applicable) The fig command does not work, after installing it i get this error and my terminal is not usable. image

Details:

macOS Fig Shell
12.5.1 Version 1.0.61 (B518) /bin/zsh
fig diagnostic

Version 1.0.61 (B518) [U.S.] 
UserShell: /bin/zsh
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/eduardoserrano/.fig/bin/fig
Accessibility: true
SSH Integration: false
Tmux Integration: false
iTerm Integration: false 
Hyper Integration: false
VSCode Integration: true
Docker Integration: false
Symlinked dotfiles: true
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: true
PseudoTerminal Path: 
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: ??? (???) - ???
Current terminal session: ???
Current working directory: ???
Current window identifier: 252/% (com.apple.Terminal)

mschrage commented 2 years ago

Looks like this thread may be related: https://github.com/cloudflare/wrangler/issues/1656#issuecomment-985521466

cc @grant0417 @squili

manuschillerdev commented 2 years ago

same for me. Only way to fix my shell was to disabled fig by uncommenting the fig pre block in my ~/.zshrc:

# Fig pre block. Keep at the top of this file.
- [[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"
+ # [[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"