Permalink
Switch branches/tags
Nothing to show
Commits on Jul 23, 2017
  1. Merge pull request #9 from nobu/feature/completion-by-optparse

    mernen committed Jul 23, 2017
    Completion by optparse
Commits on Jul 18, 2017
  1. Completion by optparse

    nobu committed Jul 18, 2017
    `--*-completion-bash` option is available since Rake uses
    optparse.
Commits on Jun 23, 2017
  1. rake: suggest all tasks, rather than only those with descriptions

    mernen committed Jun 23, 2017
    An unintended consequence of this change is that task arguments are no
    longer suggested; however, manually introducing them by typing '[' will
    still work.
    
    Closes #8.
Commits on May 4, 2017
Commits on Mar 4, 2017
  1. Update Readme installation instructions

    mernen committed Mar 4, 2017
    bash-completion is now a requirement, and Git no longer depends on it.
Commits on Feb 14, 2017
  1. bundle: bind the cache to the lockfile rather than the Gemfile

    mernen committed Feb 14, 2017
    The list of groups will probably not change, but it's very possible for
    the list of installed gems to change merely by updating dependencies,
    without touching the Gemfile.
Commits on Feb 13, 2017
  1. bundle: only duplicate entries if `bundle exec` succeeded

    mernen committed Feb 13, 2017
    An unintended consequence of randomly appending "default" without
    checking was that, if the group listing for some reason failed, we would
    promptly suggest "default" as the only option, which is pretty much the
    worst possible outcome. Now we'll just let completion revert to default.
Commits on Feb 11, 2017
  1. Fix variable leakage

    mernen committed Feb 11, 2017
Commits on Feb 10, 2017
  1. rails: cache results

    mernen committed Feb 10, 2017
    Finally delivering on #5!
Commits on Feb 9, 2017
  1. rails: remove support for Rails 2

    mernen committed Feb 9, 2017
    It's been over 6 years since Rails 3! As far as I know, the vast, vast
    majority of projects have already either migrated or been abandoned.
Commits on Feb 8, 2017
  1. Pass full invocation prefix to subcommands

    mernen committed Feb 8, 2017
    Now, if you type `bundle exec rake db<TAB>`, rather than invoking merely
    `rake -T` to fetch the list of tasks, it will invoke
    `bundle exec rake -T`. Similarly, `jruby -S gem uninstall r<TAB>` will
    call `jruby -S gem list`, suggesting the correct list of gems for the
    context.
Commits on Feb 7, 2017
Commits on Feb 6, 2017
Commits on Feb 5, 2017
  1. rake: fix for task arguments

    mernen committed Feb 5, 2017
    This is a rather ugly hack. The aim is to properly work when pressing
    Tab after any of the following lines:
    
        rake quux[foo
        rake quux[foo\ b
        rake quux['foo b
        rake quux['foo bar'
        rake quux['foo bar',
        rake quux['foo bar']
    
    A known bug is that it wil break rather horribly with a more dubious use
    of quotes, like:
    
        rake quux[foo'
    
    For some reason, I observe the following output:
    
        $ ls -1
        long filename
        $ compgen -o bashdefault -o default -- "'lo"
        long filename
    
    (The expected was for the starting quote to be preserved)
    
    Strangely, this only happens inside the completion, not on a manual
    invocation of `compgen`.
    
    Most of the hacks pertain to handling this, and other erratic behavior
    regarding quotes.
Commits on Feb 4, 2017
Commits on Feb 3, 2017
  1. bundle: suggest config keys

    mernen committed Feb 3, 2017
Commits on Feb 2, 2017
Commits on Feb 1, 2017
Commits on Jan 31, 2017
  1. bundle: viz has no --test

    mernen committed Jan 31, 2017
  2. bundle: suggest group names

    mernen committed Jan 31, 2017
  3. Update list of bundler commands

    mernen committed Jan 31, 2017
Commits on Jan 30, 2017