zsh-autocomplete icon indicating copy to clipboard operation
zsh-autocomplete copied to clipboard

Flatpak autocompletion

Open yellowhat opened this issue 2 years ago • 0 comments

Environment

$ print $VENDOR $OSTYPE $SHELL $ZSH_ARGZERO $ZSH_PATCHLEVEL
pc linux-gnu /bin/zsh /bin/zsh zsh-5.9-0-g73d3173

$ print -l $_autocomplete__funcfiletrace
/home/user/.cache/zsh-snap/functions/.znap.source:26
/home/user/.cache/zsh-snap/functions/znap:42
/home/user/.config/zsh/.zshrc:37

$ git -C ~zsh-autocomplete log --oneline -n1
5b0073d (grafted, HEAD -> main, origin/main, origin/HEAD) Check that `$ZSH_COMPDUMP` file can be read
  • Operating system: Gentoo
  • Terminal emulator: foot

Steps to reproduce

$ cd $(mktemp -d)
$ git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git
$ > .zshrc <<EOF
PS1='%# ' PS2= RPS2='%^'; setopt transientrprompt interactivecomments
source ~/zsh-autocomplete/zsh-autocomplete.plugin.zsh
EOF
$ env -i HOME=$PWD PATH=$PATH TERM=$TERM ${TERMINFO:+TERMINFO=$TERMINFO} zsh -d

$ nvim De<tab>esktop
$ flatpak run io.neovim.nvim De<tab>
no matching 'option' or 'argument' completions

I am not sure if this is a bug or a configuration issue. Anyway if I run the flatpak version of nvim, zsh-autocomplete does not autocomplete files or folders.

Thanks

yellowhat avatar Jun 08 '22 19:06 yellowhat