Gulp bash completion
https://www.npmjs.com/package/gulp-bash-completion
I tried this. I followed the instructions on the above page, but it didn't work.
Then I did the following and it worked:
At this time, this npm package is no longer required. So you can uninstall it.
I tried this. I followed the instructions on the above page, but it didn't work.
Then I did the following and it worked:
- Locate the gulp-completion.bash file installed by the package.
- Change the echo_gulp_tasks variable in gulp-completion.bash file to gulp --tasks-simple
- Copy gulp-completion.bash to /etc/bash_completion.d and source the file in current shell.
At this time, this npm package is no longer required. So you can uninstall it.
Comments