.bashrc
. But a real Zen programmer does not have to love bicycles and honors repositories and packages. So I put the script into a package and put the PPA in Ubuntu on Rails .$ sudo add-apt-repository ppa:ubuntu-on-rails/ppa
rake-completion
package:$ sudo apt-get install rake-completion
$ git clone git://github.com/ai/rake-completion.git
$ sudo cp rake-completion/rake /etc/bash_completion.d/
..rake_tasks~
in the project folder, because, for example, in Rails Rakefile starts up very slowly, because it loads the whole project environment first.*~
Rakefile
or any *.rake
files in the project.Source: https://habr.com/ru/post/76412/
All Articles