fig icon indicating copy to clipboard operation
fig copied to clipboard

Cd command does not show the suggestions but other work

Open RomanPurishy opened this issue 3 years ago • 10 comments

Checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and replicated the issue again

Operating system

macOS 13.5.2 (22G91)

Expected behaviour

When I type "cd" command i see the suggestions popup

Actual behaviour

I type "cd" command and nothing shows to me.

Steps to reproduce

https://www.loom.com/share/fff1d4d6a38645b28353678f24aee602?sid=85805ec3-a5ec-4cb4-82de-797de36c53fd

Environment

fig-details:
  - 2.17.0
hardware-info:
  - model:
  - model-id:
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 16.00 GB
os-info:
  - macOS 13.5.2 (22G91)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/roman.purishy
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 06cd8c71-2478-43b6-895b-6af173527a68
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/roman.purishy/Library/pnpm:/Library/Frameworks/Python.framework/Versions/3.9/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/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/roman.purishy/.fig/bin:/Users/roman.purishy/.local/bin:/Users/roman.purishy/Library/Application Support/JetBrains/Toolbox/scripts
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 8362
    - FIG_SET_PARENT: 06cd8c71-2478-43b6-895b-6af173527a68
  - macOS 13.5.2 (22G91)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/roman.purishy
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 06cd8c71-2478-43b6-895b-6af173527a68
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/roman.purishy/Library/pnpm:/Library/Frameworks/Python.framework/Versions/3.9/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/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/roman.purishy/.fig/bin:/Users/roman.purishy/.local/bin:/Users/roman.purishy/Library/Application Support/JetBrains/Toolbox/scripts
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 8362
    - FIG_SET_PARENT: 06cd8c71-2478-43b6-895b-6af173527a68

RomanPurishy avatar Nov 08 '23 07:11 RomanPurishy

I have deployed a new version of Fig, can you restart and check if it works?

grant0417 avatar Nov 08 '23 17:11 grant0417

@grant0417 Can confirm it's working now.

neo773 avatar Nov 08 '23 17:11 neo773

does not work. I have the same version after exec command "fig update" No updates available 2.17.0 is the latest version

RomanPurishy avatar Nov 08 '23 18:11 RomanPurishy

@RomanPurishy Restart fig by quitting and reopening.

neo773 avatar Nov 08 '23 18:11 neo773

I did, but it did not work. Event restart does not help

RomanPurishy avatar Nov 08 '23 18:11 RomanPurishy

I have the same issue, typing cd doesn't trigger autocompletion. I noticed other autocompletions are broken as well, for instance the npm install command used to give you suggestions of packages and this is broken now. None of your suggestions of restarting or quitting the app solves the issue for me either.

danielespirito avatar Nov 08 '23 21:11 danielespirito

Try killing all figterm instances and launching a new one

neo773 avatar Nov 09 '23 00:11 neo773

Same issue here, seems only cd not working, have tried fig restart.

Update: Try a reinstall fixed the issue for me.

fig-details:
  - 2.17.0
hardware-info:
  - model:
  - model-id:
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 16.00 GB
os-info:
  - macOS 14.0.0 (23A344)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/yusun/Developer
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 660652fe-9f34-4782-960d-c88ff78c6f8e
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/yusun/.nvm/versions/node/v18.18.0/bin:/Users/yusun/Developer/miniconda3/condabin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/yusun/.rbenv/shims:/Users/yusun/.pyenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/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/yusun/.fig/bin:/Users/yusun/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 8009
    - FIG_SET_PARENT: 660652fe-9f34-4782-960d-c88ff78c6f8e

usunyu avatar Nov 09 '23 03:11 usunyu

Just turned on my laptop in the morning and I saw that it all works. Magic :)

RomanPurishy avatar Nov 09 '23 05:11 RomanPurishy

I have the same problem, the cd command and the task command didn't work either.

shu-pf avatar Nov 10 '23 08:11 shu-pf