Closed patrick-motard closed 5 months ago
Hi! Thank you for having interest in my project.
Please check out that the command is :Telescope chezmoi find_files
, not list-files
Also i need to handle errors that occur when the given command doens't exist.
Thank you for your bug report.
Sorry, I mistyped what I entered in my bug report. I did in fact type :Telescope chezmoi find_files
, not list-files. As evidence, you can see that find_files is present in the stack trace i shared.
Additionally, this bug isn't just for the telescope command. It's also occurring when I run :ChezmoiList
. The stack trace and error are the same in both cases.
Hi! Thank you for having interest in my project.
And hello to you too! I'm incredibly excited about this project. It would save me an immense amount of time once i can get it working. A major quality of life improvement for sure.
Oh I see! Can you share the output of chezmoi --version
and nvim --version
?
✘ ~ nvim -v
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
Run :checkhealth for more info
~ chezmoi --version
chezmoi version v2.7.3, commit 32a15ac909ee8108d0eaeebcdbbac2305e32a9ba, built at 2021-10-23T00:31:10Z, built by goreleaser
It looks like list
was introduced in v2.10.0
. I updated chezmoi to the latest, 2.47.0, and this error no longer occurs.
Perhaps as an enhancement this plugin could throw an error if the user doesn't have at least 2.10.0 installed? I also like your idea of throwing an error if the user runs a command that doesn't exist.
FYI, the command run in the video on the projects readme is list-files, which believe doesn't exist.
I'm getting the following errors when I attempt to run
:Telescope chezmoi list-files
. For context, here are the relevant dotfiles. Any ideas on what I may be doing wrong would be much appreciated!!