version of completion script: https://github.com/ducaale/xh/blob/b694c7776b4e016cd5dfcbff42be6729fbdaa0af/completions/xh.fish
How to repro?
in fish shell type "xh ", the completion give files.
How to fix?
in the beginning of the completion script, add
to disable file completion. See the example from fish shell: https://fishshell.com/docs/current/completions.html
I found xh is using clap to parse cli args and gen completion script. I have no experience in this lib, ValueHint maybe help.
version of completion script: https://github.com/ducaale/xh/blob/b694c7776b4e016cd5dfcbff42be6729fbdaa0af/completions/xh.fish
How to repro?
in fish shell type "xh ", the completion give files.
How to fix?
in the beginning of the completion script, add
to disable file completion. See the example from fish shell: https://fishshell.com/docs/current/completions.html
I found
xhis usingclapto parse cli args and gen completion script. I have no experience in this lib, ValueHint maybe help.