withfig / fig

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

incompatible with useful mcfly #2180

Open pitosalas opened 1 year ago

pitosalas commented 1 year ago

Checks

Operating system

macOS 13.1.0 (22C65)

Expected behaviour

eval "$(mcfly init zsh)" should install the Mcfly script, shortcutted to control R. When I declare it as a script, It doesn't seem to work as expected. If I type that directly into terminal it does work.

Actual behaviour

control-R does the standard zsh behavior

Steps to reproduce

Just use eval "$(mcfly init zsh)" as a script in Fig.

Environment

fig-details:
  - 2.10.1
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 13.1.0 (22C65)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/pitosalas
  - exe-path: /Users/pitosalas/.fig/bin/fig
  - install-method: brew
  - env-vars:
    - DISPLAY: /private/tmp/com.apple.launchd.C6WTmfGvsc/org.xquartz:0
    - FIGTERM_SESSION_ID: be9bbcae-d11b-4434-ab5e-a83094b1f374
    - FIG_HOSTNAME: RpsMacbookPro13
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.10.1
    - PATH: /Users/pitosalas/.rbenv/shims:/Users/pitosalas/.pyenv/shims:/Users/pitosalas/.rbenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/pitosalas/.fig/bin:/Users/pitosalas/.local/bin:/Users/pitosalas/.rbenv/bin:/usr/local/sbin:/Users/pitosalas/.rbenv/shims:/opt/homebrew/bin:/opt/homebrew/opt/libpq/bin:/Users/pitosalas/.pyenv/bin:/opt/homebrew/sbin:/Users/pitosalas/.rbenv/bin:/usr/local/sbin:/Users/pitosalas/.rbenv/shims:/opt/homebrew/bin:/opt/homebrew/opt/libpq/bin:/Users/pitosalas/.pyenv/bin:/opt/homebrew/sbin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 30540
    - FIG_SET_PARENT: be9bbcae-d11b-4434-ab5e-a83094b1f374
maazmmd commented 1 year ago

Is this resolved? am not able to use mcfly with fig