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:
  1. Locate the gulp-completion.bash file installed by the package.
  2. Change the echo_gulp_tasks variable in gulp-completion.bash file to gulp --tasks-simple
  3. 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.


Popular posts from this blog

Several possible attacking modes on XRP ledger

How to file crypto tax for free is now web-monetized