This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/830/

How to test tips:
In separate shell (open new terminal) source the script and play with the tab completion of lmishell.
1) open new terminal
2) . path/to/lmishell.bash
3) lmishell <tab>...

- Roman Rakus


On September 6th, 2013, 10:31 a.m. UTC, Roman Rakus wrote:

Review request for OpenLMI Developers.
By Roman Rakus.

Updated Sept. 6, 2013, 10:31 a.m.

Repository: openlmi-tools

Description

Completion: bash completion for lmi shell

It allow to complete:
- LMI Shell options (short and long)
- files with .lmi extension
- directories

Signed-off-by: Roman Rakus <rrakus@redhat.com>

Testing

This is my very first completion, so please test it. It should properly handle files with spaces. It allow to complete lmishell options, but only if they are before file name.

Diffs

  • cli/completion/lmishell.bash (PRE-CREATION)

View Diff