withfig / fig

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

Freezes after using cd with cyrillic symbols #1190

Open tarik02 opened 2 years ago

tarik02 commented 2 years ago

Sanity checks

Issue Details

Description:

In order to reproduce:

mkdir а/б
cd а/б

And after this moment the completion does not work at all, like in issue #973.

Environment

# Fig Diagnostics
## Fig details:
  - Fig version: Version 1.0.56 (B416) [ABC]
  - Bundle path: /Applications/Fig.app
  - Autocomplete: true
  - Settings.json: true
  - Accessibility: true
  - Number of specs: 0
  - Symlinked dotfiles: true
  - Only insert on tab: false
  - Keybindings path: 
  - Installation Script: true
  # - PseudoTerminal Path:
  - SecureKeyboardInput: false
  - SecureKeyboardProcess: <none>
## Hardware Info:
  - Model Name: MacBook Pro
  - Model Identifier: MacBookPro17,1
  - Chip: Apple M1
  - Cores: 8 (4 performance and 4 efficiency)
  - Memory: 16 GB
## OS Info:
  - macOS 12.3.0 (21E230)
## Environment:
  - User Shell: /bin/zsh
  - Current Directory: /Users/tarik02
  - CLI Installed: true
  - Executable Location: /opt/homebrew/bin/fig
  - Current Window ID: 689/% (com.apple.Terminal)
  - Active Process: zsh (13061) - /dev/ttys007
  - Installed via Brew: true
  - Environment Variables:
    - TERM=xterm-256color
    - TERM_SESSION_ID=2A0564B0-167D-4E32-AAD2-5EBFFEAFAE58
    # - PATH=
    - FIG_INTEGRATION_VERSION=8
    - FIG_TERM=1
    - FIG_TERM_VERSION=4.3.0
## Integrations:
  - SSH: false
  - TMUX: false
  - iTerm: application is not present.
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: false
tarik02 commented 2 years ago
Знімок екрана 2022-03-25 о 21 36 43
tarik02 commented 2 years ago

an interesting note is that completion for other commands still work

mschrage commented 2 years ago

Hey @Tarik02! Thanks so much for reporting this. Unfortunately, I can't seem to reproduce the issue:

https://user-images.githubusercontent.com/3155109/160214357-ebf2d1e9-d73a-462e-a093-b9395e6164cc.mov

Can you let me know which terminal and shell you are using? Also can you run env and share the output?

Finally, can you record a similar screen recording to mine?

tarik02 commented 2 years ago

Tested both in iTerm 2 and Terminal.app, both in bash and zsh. All these don't make a difference.

https://user-images.githubusercontent.com/12175048/160232454-9cb92685-ef5b-4a80-8d20-7c17349d6afb.mov

Nothing interesting in env:

STARSHIP_SHELL=zsh
MANPATH=/opt/homebrew/share/man:::/opt/homebrew/share/man:::/Users/tarik02/.fzf/man
LDFLAGS=-L/opt/homebrew/opt/ruby/lib
DFI_THIRDPARTY=/Users/tarik02/.dotfiles/thirdparty
TERM_PROGRAM=iTerm.app
ASDF_DIR=/opt/homebrew/opt/asdf/libexec
TERM=xterm-256color
SHELL=/bin/zsh
HOMEBREW_REPOSITORY=/opt/homebrew
CPPFLAGS=-I/opt/homebrew/opt/ruby/include
TMPDIR=/var/folders/b9/d516yky175ddj1p5ylrwythc0000gn/T/
DIRENV_DIR=-/Users/tarik02
TERM_PROGRAM_VERSION=3.4.15
DFI_HOME=/Users/tarik02
ZPFX=/Users/tarik02/.dotfiles/thirdparty/zinit/polaris
OLDPWD=/Users/tarik02
TERM_SESSION_ID=w0t0p0:DD567733-05DE-4303-9D58-140393CDAB91
PMSPEC=0uUpiPsf
USER=tarik02
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Tc4KWHQZEF/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x7:0x3E
FZF_DEFAULT_OPTS=--layout=reverse
--info=inline
--height=80%
--multi
--preview='([[ -f {} ]] && (bat --style=numbers --color=always {} || cat {})) || ([[ -d {} ]] && (tree -C {} | less)) || echo {} 2>/dev/null | head -n 200'
--preview-window=':hidden'
--color='hl:148,hl+:154,pointer:032,marker:010,bg+:237,gutter:008'
--prompt='∼ '
--pointer='▶'
--marker='✓'
--bind '?:toggle-preview'
--bind 'ctrl-a:select-all'
--bind 'ctrl-e:execute(vim {+} >/dev/tty)'
--bind 'ctrl-v:execute(code {+})'
--bind 'ctrl-y:execute-silent(echo {+} | pbcopy)'
DIRENV_WATCHES=eJx0zj1OxTAMAOC7eK7IT-3kpTsjEgsTYnASV40IrZSEgoR6d0ZY3gU-fa8_8MxjgwXUS5fW1eBW3rVVD7KfMMHTkUf5EFiMQ2-JtA8TPH6XPjoso33KNd0V6pG4qr5xE5VLk_1UXOvxpWwUcjhnnmdHyD4mtJ5ivjGjxxA9i0kBiawhjpwo0xpMZBfcLWiN_1_6r7Ny7XK9_QYAAP__YRhBcA==
PATH=/Users/tarik02/.poetry/bin:/Users/tarik02/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/tarik02/.dotfiles/thirdparty/zinit/polaris/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Users/tarik02/.dotfiles/bin/common:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/tarik02/.local/bin:/Users/tarik02/.dotfiles/thirdparty/direnv:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:/Users/tarik02/.cargo/bin:/Users/tarik02/.dotfiles/bin/pasteboard:/Users/tarik02/.fig/bin:/Users/tarik02/.local/bin:/Users/tarik02/.local/bin:/Users/tarik02/.dotfiles/thirdparty/zinit/plugins/unixorn---fzf-zsh-plugin/bin:/Users/tarik02/.fzf/bin:/Users/tarik02/.local/bin
__CFBundleIdentifier=com.googlecode.iterm2
TTY=/dev/ttys010
PWD=/Users/tarik02/а
FZF_ALT_C_COMMAND=find . -type d ( -path .git -o -path node_modules ) -prune
EDITOR=vim
IS_WSL=0
LANG=uk_UA.UTF-8
ITERM_PROFILE=Default
XPC_FLAGS=0x0
PS1=\[\]\s-\v\$ \[\]\[\]
PS3=\[\]\[\]\[\]
PS2=\[\]> \[\]
DIRENV_FILE=/Users/tarik02/.env
XPC_SERVICE_NAME=0
SHLVL=2
HOME=/Users/tarik02
COLORFGBG=7;0
DFI_ROOT=/Users/tarik02/.dotfiles
LC_TERMINAL_VERSION=3.4.15
ZSH_CACHE_DIR=/Users/tarik02/.cache/zinit
HOMEBREW_PREFIX=/opt/homebrew
ITERM_SESSION_ID=w0t0p0:DD567733-05DE-4303-9D58-140393CDAB91
STARSHIP_SESSION_KEY=1509452824455196
FZF_PREVIEW=([[ -f {} ]] && (bat --style=numbers --color=always {} || cat {})) || ([[ -d {} ]] && (tree -C {} | less)) || echo {} 2>/dev/null | head -n 200
LOGNAME=tarik02
DFI_CACHE=/Users/tarik02/.dotfiles/.cache
FZF_CTRL_T_COMMAND=find . -type f ( -path .git -o -path node_modules ) -prune
FZF_DEFAULT_COMMAND=find . -type f ( -path .git -o -path node_modules ) -prune
INFOPATH=/opt/homebrew/share/info:
HOMEBREW_CELLAR=/opt/homebrew/Cellar
FZF_PREVIEW_WINDOW=:hidden
LC_TERMINAL=iTerm2
DIRENV_DIFF=eJxUysvOojAYANB3-dYyFhFQEhdFqiCCCuXmpjEKSInAgJE6xnef1WTyr8_5QAfG5zuBBowPWE5A_JhZTgAGSNNoyPth-rz0VY1mMPnHG2dPwICfPP2VN6__J8F0bZMQDMh3Av3h8kFQ7OHDWs9d3aGSUnd04KQcaNbgMJ4jpz-HpGwD7YbOmVJGUnFZsIUneDmmUagWiZybidLHsaW7hefZtI4KlWwq7zSTdk-8oEdbS4-8HVpFcf0birVuO__dq4Ko8b5mcpQeXqJLxujK703zuNlva_547tTqxbdcCLysUG1Wl_HOu7FFovPOZnHdJ5XPZKb1uv_WU3fJThnGR8ay4G5e8WoF3-_fAAAA__-TaGbV
FIG_INTEGRATION_VERSION=8
FIG_TERM_VERSION=4.3.0
FIG_TERM=1
COLORTERM=truecolor
_=/usr/bin/env