withfig / fig

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

bug: Fig not work in alacritty #2126

Open digika-ding opened 1 year ago

digika-ding commented 1 year ago

Checks

Operating system

macOS m1 Ventrua 13.0.1

Expected behaviour

input cd then pop-up completions

Actual behaviour

Nothing

Steps to reproduce

fig: 2.9.0 alacrity: 0.11.0

Environment

fig-details:

mschrage commented 1 year ago

Try running fig doctor?

digika-ding commented 1 year ago

Try running fig doctor?

Yes, nothing changes. Still not working.

mschrage commented 1 year ago

What is the exact output of fig doctor @digika-ding ?

Also can you run fig _ local-state all?

Have you run fig integrations install input-method?

digika-ding commented 1 year ago

What is the exact output of fig doctor @digika-ding ? What is the exact output of fig doctor


❯ fig doctor

✔ Everything looks good!

Fig still not working? Run fig issue to let us know! Or, email us at hello@fig.io!

~ ❯


> Also can you run `fig _ local-state all`?

anonymousId = "93fcf59c-4612-4041-a951-650a74f7b353" desktop.completedOnboarding = true desktop.versionAtPreviousLaunch = "2.9.0" doctor.prompt-restart-terminal = false dotfiles.all.lastUpdated = "2022-12-06T19:02:16.972Z" input-method=io.fig.cursor.alacritty.process[18750]-requires-restart = true input-method=io.fig.cursor.alacritty.process[76497]-requires-restart = true input-method=io.fig.cursor.enabled = true input-method=io.fig.cursor.intellij.process[666]-requires-restart = true input-method=io.fig.cursor.toolbox.process[17505]-requires-restart = true previous_email = "dingweibing@outlook.jp" pty.path = "/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users /weibingding/.jenv/bin:/Users/weibingding/.sdkman/candidates/java/current/bin:/opt/homebrew/bin:/opt/homebrew /sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/weibingding/.fig/bin: /Users/weibingding/.local/bin:/Users/weibingding/Library/Application Support/JetBrains/Toolbox/scripts:/opt/h omebrew/opt/fzf/bin" settings.updatedAt = "2022-12-06T18:20:13.057Z" user.account.is-fig-pro = false user.onboarding = true user_id = "117551" using_cognito = "true"


> Have you run `fig integrations install input-method`?

Yes.
mschrage commented 1 year ago

Can you run fig debug input-method and share the output?

digika-ding commented 1 year ago

Can you run fig debug input-method and share the output?

digika-ai-data-reports on  master [!?] is  v0.1.0 via 
❯ fig debug input-method
Installed? true
TISInputSource {
    bundle_id: Some(
        "io.fig.cursor",
    ),
    input_source_id: Some(
        "io.fig.cursor",
    ),
    input_source_category: Some(
        "TISCategoryPaletteInputSource",
    ),
    input_source_is_enabled: Some(
        true,
    ),
    input_source_is_selected: Some(
        true,
    ),
    localized_name: Some(
        "FigInputMethod",
    ),
    input_mode_id: None,
    category_keyboard: None,
}
mschrage commented 1 year ago

Can you run env inside of your alacrity terminal and share the output here?

also how are you launching alacrity?

digika-ding commented 1 year ago

Can you run env inside of your alacrity terminal and share the output here?

ALACRITTY_LOG=/var/folders/bl/z_2ylxdn56jbcn41n0mz15s80000gn/T/Alacritty-39355.log
ALACRITTY_SOCKET=/var/folders/bl/z_2ylxdn56jbcn41n0mz15s80000gn/T/Alacritty-39355.sock
ALACRITTY_WINDOW_ID=4824640224
COLORTERM=truecolor
COMMAND_MODE=unix2003
FIGTERM_SESSION_ID=577e9091-d0cc-49f0-bc6c-269ac2b938eb
FIG_HOSTNAME=WeibingacStudio
FIG_SET_PARENT_CHECK=1
FIG_TERM=2.9.0
HOME=/Users/weibingding
LC_CTYPE=UTF-8
LOGNAME=weibingding
OLDPWD=/Users/weibingding/Library/Git
PATH=/Users/weibingding/.jenv/bin:/Users/weibingding/.pyenv/shims:/Users/weibingding/Library/Caches/fnm_multishells/90767_1670434469923/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/Library/Caches/fnm_multishells/86890_1670434062669/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.jenv/shims:/Users/weibingding/.jenv/bin:/Users/weibingding/.sdkman/candidates/java/current/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/weibingding/.fig/bin:/Users/weibingding/.local/bin:/Users/weibingding/Library/Application Support/JetBrains/Toolbox/scripts:/opt/homebrew/opt/fzf/bin
PWD=/Users/weibingding/Library/Git/digika-ai-data-reports
SHELL=/bin/zsh
SHLVL=2
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.AGzFPAjYHy/Listeners
TERM=xterm-256color
TMPDIR=/var/folders/bl/z_2ylxdn56jbcn41n0mz15s80000gn/T/
USER=weibingding
WINDOWID=4824640224
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
__CFBundleIdentifier=org.alacritty
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_REPOSITORY=/opt/homebrew
MANPATH=/opt/homebrew/share/man::
INFOPATH=/opt/homebrew/share/info:
TTY=/dev/ttys009
FIG_PID=39568
FIG_SET_PARENT=577e9091-d0cc-49f0-bc6c-269ac2b938eb
LC_FIG_SET_PARENT=577e9091-d0cc-49f0-bc6c-269ac2b938eb
STARSHIP_SHELL=zsh
STARSHIP_SESSION_KEY=3148300282340329
SDKMAN_VERSION=5.16.0
SDKMAN_CANDIDATES_API=https://api.sdkman.io/2
SDKMAN_DIR=/Users/weibingding/.sdkman
SDKMAN_PLATFORM=darwinarm64
SDKMAN_CANDIDATES_DIR=/Users/weibingding/.sdkman/candidates
FZF_DEFAULT_OPTS=--preview 'bat --color=always --style=numbers --line-range=:500 {}'
JENV_SHELL=zsh
JENV_LOADED=1
JENV_FORCEJAVAHOME=true
ZELLIJ=0
ZELLIJ_SESSION_NAME=uptight-chicken
FNM_LOGLEVEL=info
FNM_VERSION_FILE_STRATEGY=local
FNM_DIR=/Users/weibingding/Library/Application Support/fnm
FNM_ARCH=arm64
FNM_NODE_DIST_MIRROR=https://nodejs.org/dist
FNM_MULTISHELL_PATH=/Users/weibingding/Library/Caches/fnm_multishells/90767_1670434469923
JAVA_HOME=/Users/weibingding/.jenv/versions/system
PYENV_SHELL=zsh
PYENV_ROOT=/Users/weibingding/.pyenv
_=/usr/bin/env

also how are you launching alacrity?

macOS Spotlight or from launch pad or registered as login item