fig icon indicating copy to clipboard operation
fig copied to clipboard

Problem with auto complete with git repositories

Open antoniovuono opened this issue 1 year ago • 5 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.4.1 (22F82)

Expected behaviour

I expected when an entered a folder with git coupled, the auto complete works fine.

like that: Captura de Tela 2023-07-02 às 20 49 15

Actual behaviour

Hey guys,

I'm using fig with auto complete extension and in normal locations he works good, but...

Example: Captura de Tela 2023-07-02 às 20 46 33

When a move to a project folder who are coupled with a git repository, the auto complete doesn't work.

Example: Captura de Tela 2023-07-02 às 20 46 16

Someone can help me fix it ?

Steps to reproduce

No response

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Max
  - cores: 10
  - mem: 32.00 GB
os-info:
  - macOS 13.4.1 (22F82)
environment:
  - shell: /bin/zsh
  - terminal: hyper
  - cwd: /Users/antoniovuono/projetos/estudosjs/arrays
  - exe-path: /usr/local/bin/fig
  - install-method: unknown
  - env-vars:
    - FIGTERM_SESSION_ID: d0113557-0afd-46a1-aa07-f290f4da5ff8
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: /Users/antoniovuono/.rvm/gems/ruby-2.7.5/bin:/Users/antoniovuono/.rvm/gems/ruby-2.7.5@global/bin:/Users/antoniovuono/.rvm/rubies/ruby-2.7.5/bin:/Users/antoniovuono/.nvm/versions/node/v16.20.0/bin:/Users/antoniovuono/google-cloud-sdk 2/bin:/Users/antoniovuono/.local/share/zinit/polaris/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/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/antoniovuono/.fig/bin:/Users/antoniovuono/.local/bin:/usr/local/opt/node@16/bin:/Users/antoniovuono/Library/Android/sdk/emulator:/Users/antoniovuono/Library/Android/sdk/platform-tools:/Users/antoniovuono/.rvm/bin:/Users/antoniovuono/.local/share/fig/plugins/git-flow
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: co.zeit.hyper
    - FIG_PID: 62902
    - FIG_SET_PARENT: d0113557-0afd-46a1-aa07-f290f4da5ff8

antoniovuono avatar Jul 02 '23 23:07 antoniovuono

Does it not work at all in the git repo or is it just the git command that isn't working?

grant0417 avatar Jul 18 '23 18:07 grant0417

Hey @grant0417 thanks for the support.

It doesn't work on all folders that are linked to a git repository.

When I enter any folder that is not linked to a git repository, it works normally.

antoniovuono avatar Jul 18 '23 18:07 antoniovuono

In one of the repos can you run git help -a

grant0417 avatar Jul 18 '23 18:07 grant0417

Shure.

Captura de Tela 2023-07-19 às 10 28 46

antoniovuono avatar Jul 19 '23 13:07 antoniovuono

Any update on this? I'm having same issue.

[Environment]

fig-details:
  - 2.17.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M2
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 14.2.1 (23C71)
environment:
  - shell: /bin/zsh
  - terminal: kitty
  - cwd: /Users/chaameliiia
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 3e4a9697-1e6d-407c-b200-492be1f424f2
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /var/folders/nh/63c12hhn7tvc51n087xly8lh0000gn/T/frum_1409_1704457246353/bin:/Users/chaameliiia/.gem/bin:/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:/Library/Apple/usr/bin:/Applications/kitty.app/Contents/MacOS:/Users/chaameliiia/.fig/bin:/Users/chaameliiia/.local/bin:/Users/chaameliiia/Library/Application Support/JetBrains/Toolbox/scripts
    - SHELL: /bin/zsh
    - TERM: xterm-kitty
    - __CFBundleIdentifier: net.kovidgoyal.kitty
    - FIG_PID: 1364
    - FIG_SET_PARENT: 3e4a9697-1e6d-407c-b200-492be1f424f2

chaameliiia avatar Jan 05 '24 11:01 chaameliiia