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:
❯ ls
invalid argument "all" for "--color-scale" flag: strconv.ParseBool: parsing "all": invalid syntax
I can confirm carapace is doing this because if I comment out the:
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
zstyle ':completion:*:git:*' group-order 'main commands' 'alias commands' 'external commands'
source <(carapace _carapace)
bits of my .zshrc
, it doesn't throw the error.
Now for the the exciting bits. My ls
is not ls
. My ls
is:
COMMON_EZA_OPTIONS='--classify --icons --color=automatic --color-scale=all --header --group'
alias ls="eza $COMMON_EZA_OPTIONS --grid"
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 actually eza
?
I guess have carapace know that my ls
is actually eza
.
This is how my system is setup:
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
zstyle ':completion:*:git:*' group-order 'main commands' 'alias commands' 'external commands'
source <(carapace _carapace)
COMMON_EZA_OPTIONS='--classify --icons --color=automatic --color-scale=all --header --group'
alias ls="eza $COMMON_EZA_OPTIONS --grid"
ls <tab>
develop (brew says 1.0.7)
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too