LoginSignup
1
1

More than 5 years have passed since last update.

bash/zshでGruntのタスク名を補完する

Last updated at Posted at 2013-12-05

Gruntのcompletionとかないのかなーと思って探してみたら、grunt-cliのところに書いてありました


.bashrc
eval "$(grunt --completion=bash)"

もしくは

.zshrc
eval "$(grunt --completion=zsh)"

を追加すると良いみたいです。


私は

.bashrc
type grunt >/dev/null 2>&1 && eval "$(grunt --completion=bash)"

という風にしました。


とまあ、補完はできたのですけど速度はかなり遅いです。

などは使ってみていませんが(というかzsh使いではない)上記のものより補完が速いのかもしれません。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1