You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to configure autocompletion for tool-sync. Unfortunately, it doesn't work on my Ubuntu 20.04 and bash shell. I'm trying to add the suggested line to .bashrc and ~/.bash_profile (I also made sure that I have bash-completion installed).
I tried specifying the following lines. But nothing works for me:
So some investigation is required to fix this. Maybe it's just me. I'll have a look at the completion package and see if anything needs to be done or how to make it work.
On top of that, I can see, this probably happens because by default, the tool completion command uses the tool-sync name.
It would be great if tool was used by default (maybe there's a way to do this in the autocompletion package we use?). Otherwise, documentation should change to always suggest the --rename flag.
The text was updated successfully, but these errors were encountered:
I can take a look at this when I get home. I also recently found out using an aliased command keeps the autocomplete working like the original command, so maybe its a good idea to remove the rename flag if that is the source of the issue.
This works on both my ubuntu machines. The std err needs to be redirected since it will print the instructions on start up. This is also something that needs to be fixed.
As for the name that gets used when the rename flag is not passed, its currently using the name defined in the Cargo.toml but it can of course be hard coded by using a constant in the src/lib.rs instead of calling the get_name method.
I'm trying to configure autocompletion for
tool-sync
. Unfortunately, it doesn't work on my Ubuntu 20.04 andbash
shell. I'm trying to add the suggested line to.bashrc
and~/.bash_profile
(I also made sure that I havebash-completion
installed).I tried specifying the following lines. But nothing works for me:
So some investigation is required to fix this. Maybe it's just me. I'll have a look at the completion package and see if anything needs to be done or how to make it work.
On top of that, I can see, this probably happens because by default, the
tool completion
command uses thetool-sync
name.complete -F _tool-sync -o bashdefault -o default tool-sync
It would be great if
tool
was used by default (maybe there's a way to do this in the autocompletion package we use?). Otherwise, documentation should change to always suggest the--rename
flag.The text was updated successfully, but these errors were encountered: