We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following command: ls ./a ./b, auto-complete only works for the last ./b argument.
ls ./a ./b
./b
Given the following command: ls ./a ./b, auto-complete should work for both ./a and ./b.
./a
1.0.7
No response
The text was updated successfully, but these errors were encountered:
Oof - $words includes the ones past cursor position so it tries to match ./b:
$words
# zsh ❯ ls ./<TAB> ./b 2024/12/26 10:39:39.177375 zsh -------------------------------------------------------------------------------- 2024/12/26 10:39:39.177424 zsh []string{"carapace", "ls", "zsh", "ls", "./", "./b"} 2024/12/26 10:39:39.177515 zsh traverse called for "ls" with args []string{"./", "./b"} 2024/12/26 10:39:39.177518 zsh executing PreRun for "ls" with args []string{"./", "./b"} 2024/12/26 10:39:39.177529 zsh arg "./" is a positional 2024/12/26 10:39:39.177568 zsh flag parsing is disabled for "ls" 2024/12/26 10:39:39.177570 zsh completing positionals and subcommands for arg "./b" 2024/12/26 10:39:39.177696 zsh executing "/home/rsteube/go/bin/carapace eza export eza ./ ./b" 2024/12/26 10:39:39.320002 zsh -------------------------------------------------------------------------------- 2024/12/26 10:39:39.320070 zsh []string{"/home/rsteube/go/bin/carapace", "_carapace", "export", "eza", "./", "./b"} 2024/12/26 10:39:39.320232 zsh traverse called for "eza" with args []string{"./", "./b"} 2024/12/26 10:39:39.320241 zsh executing PreRun for "eza" with args []string{"./", "./b"} 2024/12/26 10:39:39.320263 zsh arg "./" is a positional 2024/12/26 10:39:39.320292 zsh parsing flags for "eza" with args []string{"./"} 2024/12/26 10:39:39.320298 zsh completing positionals and subcommands for arg "./b" =(#b)(b)([ ]## -- *)=0=38;2;255;184;108=2:=(#b)(b)=0=38;2;255;184;108:=(#b)(-- *)=0=2filesb./b
Sorry, something went wrong.
thanks for the quick fix, can confirm it's working for me as well 👍
Successfully merging a pull request may close this issue.
Current Behavior
Given the following command:
ls ./a ./b
, auto-complete only works for the last./b
argument.Expected Behavior
Given the following command:
ls ./a ./b
, auto-complete should work for both./a
and./b
.Steps To Reproduce
ls ./a ./b
./a
Version
1.0.7
OS
Shell
Anything else?
No response
Polar
The text was updated successfully, but these errors were encountered: