-
Notifications
You must be signed in to change notification settings - Fork 48
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
Investigate automatic support for autocomplete integration #622
Comments
From the readme in https://github.com/scop/bash-completion/
I've never tried if this works, but I think we can put there a file that loads all the files installed in the |
I just used for the first time for a real task the YARP conda binaries, and while they are working fine, the absence of bash completion is a real usability problem. |
Actually it seems we don't need to interfere with user-specified completion scripts, the following Q is related to installation:
At least on Ubuntu, we have:
and YARP already installs in the At this point, we just need to tell
At this point, it seems that the only missing pieces are:
|
👍🏻
I just realized we have completion for those commands... |
Really? That would be a dream. However from http://www.yarp.it/git-master/resource_finder_spec.html it seems that |
Probably yes, I was preferring just to copy on install as it is easier to do at CMake level and creates less problems (for example on Windows). |
By the way, I just tested with https://github.com/robotology/icub-gazebo-grasping-sandbox that actually has completion thanks to |
That's the reason why we have
I got the impression that with recent CMake versions, symbolic links should be partially working also on windows (perhaps copying the file instead of creating a link, like for |
The problem of that workflow is that it stops working as soon as the user uses its own repo using the robotology-superbuild,only to provide dependencies and installs it in a custom prefix. If the user sets |
If you want to rely on the |
Is this possible? According to http://www.yarp.it/git-master/resource_finder_spec.html if I install yarp in
but, as far as I understand, by using |
Right! Which is another reason why supporting this workflow with a different name is a bad idea. I'm not aware of any other framework that allows installing files relative to the framework itself anywhere... |
YARP (and possibly other projects) support autocomplete integration as discussed in robotology/community#15 . However, the proposed procedure require to create a symbol link in global directories. To permit automatic and non-invasive integration, we should understand if we enable it on a process-specific level by doing something in our "activation script" setup.sh .
The text was updated successfully, but these errors were encountered: