-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
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
Error with ls when aliased to eza #2601
Comments
Yes, I'm using eza as well:
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: ls
run: "[eza]"
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: ls
parsing: disabled
completion:
positionalany: ["$carapace.bridge.CarapaceBin([eza])"] |
btw. this should also work (and be preferred as it let's carapace know the flags are already set): yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: ls
run: "[eza, --classify, --icons, --color=automatic, --color-scale=all, --header, --group]" It's just that it seems the same for 2.: # yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: ls
parsing: disabled
completion:
positionalany: ["$carapace.bridge.CarapaceBin([eza, --classify, --icons, --color=automatic, --color-scale=all, --header, --group])"] |
Sooooo...let's assume I'm quite new at carapace, which I am. Where do I make these changes? Would it be in |
See |
Assuming this is solved now, reopen if not. |
@rsteube I can confirm that now that v1.1.0 is in brew, I upgraded and I can "restore" the |
Or not. New issue incoming |
Current Behavior
I freely admit this is probably due to my setup, but I'm not sure what is happening and if I can fix it.
When I try and do tab completion with
ls
I get:I can confirm carapace is doing this because if I comment out the:
bits of my
.zshrc
, it doesn't throw the error.Now for the the exciting bits. My
ls
is notls
. Myls
is:and if I turn that off, tab completion also works.
So, I guess my question is: Is there a way I can tell carapace that my
ls
is actuallyeza
?Expected Behavior
I guess have carapace know that my
ls
is actuallyeza
.Steps To Reproduce
This is how my system is setup:
ls <tab>
Version
develop (brew says 1.0.7)
OS
Shell
Anything else?
No response
Polar
The text was updated successfully, but these errors were encountered: