withfig / fig

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

Autcomplete only works for folders, not files #2420

Closed b-per closed 1 year ago

b-per commented 1 year ago

Checks

Operating system

macOS 13.2.1 (22D68)

Expected behaviour

Typing cat (or any other command applying to files) should provide me the list of directories to drill through as well as files available.

(I have searched the issues but I couldn't find the same problem, there are just too many of them)

Actual behaviour

Typing cat suggests directories and command flags but doesn't suggest files.

If I go out of fig with esc, the normal shell completion lists all my files correctly.

Steps to reproduce

No response

Environment

fig-details:
  - 2.14.2
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 13.2.1 (22D68)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/bper
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: d63e688b-8d2b-4525-87d9-1895f81719e3
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.14.2
    - PATH: /Users/bper/.pyenv/shims:/Users/bper/.rbenv/shims:/Users/bper/miniconda3/bin:/Users/bper/miniconda3/condabin:/opt/homebrew/opt/openssl@1.1/bin:/Applications/SnowSQL.app/Contents/MacOS:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/bper/.fig/bin:/Users/bper/.local/bin:/Users/bper/.local/bin:/opt/homebrew/opt/fzf/bin:/Users/bper/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 31014
    - FIG_SET_PARENT: d63e688b-8d2b-4525-87d9-1895f81719e3
mschrage commented 1 year ago
Screenshot 2023-05-01 at 3 46 25 PM

Closing since I can't reproduce this behavior. Please provide more context and I will reopen it.