[lxc-devel] [lxc/lxc] 0306de: Add bash auto completion

GitHub noreply at github.com
Wed Jan 22 17:23:32 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0306de4f280adc0cd5faa3cd365c584d61c9e383
      https://github.com/lxc/lxc/commit/0306de4f280adc0cd5faa3cd365c584d61c9e383
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-22 (Wed, 22 Jan 2014)

  Changed paths:
    M config/Makefile.am
    A config/bash/Makefile.am
    A config/bash/lxc.in
    M configure.ac

  Log Message:
  -----------
  Add bash auto completion

This adds a basic bash auto-completion profile.

It supports 3 things at this time:
 - Auto-complete of container name (-n or -o)
 - Auto-complete of template name (-t)
 - Auto-complete of state names (-s)

It's configured in a way to be as little disruptive as possible, any
argument that's not explicitly handled by the profile will fallack to
bash's default completion.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list