Closed hustcer closed 8 months ago
Can you check from where the specs are loaded?
carapace -h
# Specs are loaded from ...
Unless XDG_CONFIG_HOME
is set the default path in osx is ~/Library/Application Support/carapace/specs
.
Shell parameter is optional and if left out carapace will try to detect it by parent process name. Some completions are cached at [/Users/hustcer/Library/Caches/carapace]. Config is written to [/Users/hustcer/Library/Application Support/carapace]. Specs are loaded from [/Users/hustcer/Library/Application Support/carapace/specs].
I have just copied mycmd.yaml
to /Users/hustcer/Library/Application Support/carapace/specs and ran source <(carapace _carapace)
, still has no luck
Current Behavior
I just tried the example from Spec, however it doesn't work for me.
Expected Behavior
It should work as the asciinema casts
Steps To Reproduce
source <(carapace _carapace)
in bashmycmd
in commandline and pressTab
, however, nothing appearsVersion
1.0.0
OS
Shell
Anything else?
$ cat ~/.config/carapace/specs/git.yaml
The git completion works for me in bash