Posts

Showing posts with the label gulp

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: 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. Now try type gulp [space] and hit [enter] , the completion should work. At this time, this npm package is no longer required. So you can uninstall it.