Closed Freed-Wu closed 1 year ago
adb pull
's completion result is not a valid path in your host machine.
You can use $ctxt[hpre]$word
to get the full path here.
zstyle ':fzf-tab:complete:adb-pull:*' fzf-preview 'echo $ctxt[hpre]$word'
Similar for dconf, however, $ctxt[hpre]$word
cannot work.
zstyle ':fzf-tab:complete:dconf-list:*' fzf-preview 'echo $ctxt[hpre]$word'
Expected behaviour: /org/gnome/cheese
Actual: cheese
Describe the bug
$realpath
is empty for adb.I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
only test
Environment:
Minimal zshrc