Sha256: 92319c7a1d4b7b98e06abeceb2aadf1be4816b223a28ae40dec79f048fba1ed2

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

---
title: Bash Integration Guide
layout: integration
section: documentation
integration: bash
---

If you've ever used a command-line program like Git, you've probably used tab
completion before. For example, you type `git chec`, press the `<Tab>` key, and
bash automatically completes the rest of the command for you: `git checkout`.
Bash accomplishes this through the use of a [completion
function](http://tldp.org/LDP/abs/html/tabexpansion.html), and the good news is
that there's one available for ppl.

### Install the completion function globally

    $ ppl completion bash | sudo tee /etc/bash_completion.d/ppl

The [completion](/documentation/commands/completion) command simply outputs the
completion function code in its entirety. The above line pipes that code into
its rightful place in your system's Bash completion function config directory.


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppl-4.0.3 gh-pages/documentation/integration/bash/index.md