Skip to content
This repository has been archived by the owner on Jul 7, 2019. It is now read-only.

Commit

Permalink
config readme
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Dec 12, 2009
1 parent ed4114b commit 2345eed
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,33 @@ sure it's in your `$PATH`.)
$ gem install repl -s http://gemcutter.org/


Completion
----------

Because `rlwrap` supports completion, `repl` does too. Any file in
`~/.repl` matching the name of the command you start `repl` with will
be used for completion.

For instance, a file named `~/.repl/redis-cli` containing "get set
info" will cause "get", "set", and "info" to be tab completeable at
the prompt.

The directory searched for completion files can be configured using
the `REPL_COMPLETION_DIR` environment variable.


Configuration
-------------

The following environment variables affect `repl`'s behavior:

`REPL_PROMPT`:
the prompt to display before each line of input. defaults to >>

`REPL_COMPLETION_DIR`:
directory in which completion files are kept


Contributing
------------

Expand Down

0 comments on commit 2345eed

Please sign in to comment.