-
Notifications
You must be signed in to change notification settings - Fork 486
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
Autocompletion does not work with relative paths anymore #1796
Comments
I downgraded the chezmoi package and the issue does not appear until chezmoi 2.9.3-1 |
Thanks for reporting this. This is a definite bug in chezmoi, most likely introduced by #1736. |
Completion still fails when using paths that start with Edit: Version 2.9.5 and using |
This is due to a bug in cobra's fish completions. I've opened spf13/cobra#1577 to report it. |
The latter part about the trailing slash also affects bash. |
Describe the bug
Autocompletion does not do relative paths.
To reproduce
chezmoi edit .config
Expected behavior
Chezmoi should be able to autocomplete relative paths
Output of command with the
--verbose
flagThere is no output as the autocomplete does not generate one.
Output of
chezmoi doctor
Additional context
If you do
chezmoi edit
and hit tab twice, it shows the absolute path of the home directory (like /home/mark) and after that, autocompletion works.If you enter the relative path manually after
chezmoi edit
likechezmoi edit .config/i3/config
it opens the file without issue.The text was updated successfully, but these errors were encountered: