-
Notifications
You must be signed in to change notification settings - Fork 11
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
Initial tab completetion implementation #32
Conversation
OK, but how do I use this? |
return 0 | ||
} | ||
|
||
rake_cache=$(rake -T 2> /dev/null | sed "s/\[[^]]*]//") && complete -F _rake -o nospace rake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that when I cd
to a different Rakefile, it will use the tasks of the previous one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These usability details are currently being researched ;-) Thanks for hint.
general note, why it is part of yast-rake and not attach it to rake itself? I see no yast specific stuff here and I am sure other projects will also benefit from it. |
mvidner - usage should be placing this sh file to /etc/bash_completion.d/, then relogin ( not sure if it is needed ) and then |
@jreidinger just restarting terminal should be enough |
@mchf how should we proceed here? I agree with @jreidinger as this looks generic and should be part of the rake package. (Or a separate package like On the other hand is it really needed? My usual workflow it to run |
Closing, please add the completion directly to the rake package or to a separate package. |
No description provided.