Last updated by 5 years ago

Page: Grails Bash Completion Script, Version:1

By Fernando Takai (http://fernandotakai.wordpress.com && fernando.takaiAtGmailDotCom )

This is a new grails bash completion script, based on other scripts i found on internet. Basically it completes all grails commands and some other things like domain classes, controllers and plugins.

You can find it here: http://pastebin.com/f495a05da

To install it, put the script on some place and add to your .bash_profile

[ -r /path/to/your/file ] && source /path/to/your/file

The script uses gawk -- that is not default on some linux boxes and on mac (on mac, install it through ports)

To use it just enter on your grails app and try some commands!