carapace-sh / carapace-bin

multi-shell multi-command argument completer
https://carapace.sh
MIT License
937 stars 49 forks source link

setup: open /Users/xxx/Library/Application Support/carapace/specs: no such file or directory #2240

Closed PaulXu-cn closed 9 months ago

PaulXu-cn commented 9 months ago

Current Behavior

Install from rsteube/homebrew-tap

brew tap rsteube/homebrew-tap
brew install rsteube/tap/carapace

and setup Zsh

# ~/.zshrc
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
source <(carapace _carapace)

exec shell

source ~/.zshrc

show

open /Users/xxx/Library/Application Support/carapace/specs: no such file or directory

Expected Behavior

No response

Steps To Reproduce

No response

Version

0.30.1

OS

Shell

Anything else?

No response

PaulXu-cn commented 8 months ago

I reviewed #2241 , you fixed it by change print log code .

but I got

open /Users/xxx/Library/Application Support/carapace/specs: no such file or directory

I have a few questions

  1. This directory, Application Support/carapace, has no available executable file?
  2. It's whether the directory is wrong in setup step?
  3. The executable file is not created in the Application Support directory,whether error in the installation step,
rsteube commented 8 months ago

The application just looks for user specs when executing carapace _carapace. It's just that the directory did not exist at that point, which isn't really an issue.