withfig / fig

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

Autocomplete doesn't work, When I restart fig, Autocomplete will show it first, and then disappear immediately #2647

Closed wChenonly closed 1 year ago

wChenonly commented 1 year ago

Checks

Operating system

macOS 13.4.1 (22F770820d)

Expected behaviour

Normal display

Actual behaviour

https://github.com/withfig/fig/assets/37658262/a16eaacb-92b9-4db5-9ae4-8ac1adaa71e3

Steps to reproduce

No response

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 13.4.1 (22F770820d)
environment:
  - shell: /bin/zsh
  - terminal: kitty
  - cwd: /Users/wchenonly
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 3eafdbc5-454f-4619-9cb1-4cd7e9f3de3d
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: /Users/wchenonly/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/wchenonly/.cargo/bin:/Applications/kitty.app/Contents/MacOS:/Users/wchenonly/.fig/bin:/Users/wchenonly/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-kitty
    - __CFBundleIdentifier: net.kovidgoyal.kitty
    - FIG_PID: 31967
    - FIG_SET_PARENT: 3eafdbc5-454f-4619-9cb1-4cd7e9f3de3d
KrzysztofPilarski commented 1 year ago

just installed the Fig for the first time an have same issue.

wChenonly commented 1 year ago

I found that mine was caused by zoxide I used the alias aliax cd = 'z' in zshrc. I deleted the alias first, restarted fig, and it can be used. Then add the alias, and now it can be used normally.