----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/830/#review1102 -----------------------------------------------------------
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 Sept. 6, 2013, 10:31 a.m., Roman Rakus wrote:
This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/830/
(Updated Sept. 6, 2013, 10:31 a.m.)
Review request for OpenLMI Developers.
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
Diffs
cli/completion/lmishell.bash PRE-CREATION
Diff: http://reviewboard-openlmi.rhcloud.com/r/830/diff/
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.
Thanks,
Roman Rakus