NetworkManager/cli
Thomas Haller 93f5687d7b cli: fix bash completion for curser not at EOL
If the curser is not at the end of the line, we want to complete
by ignoring everything right of the curser. However, the variable
$cur is set to the spaces since the last word, so we have to
get rid of them first

Without this, the following did not complete:
  $ nmcli connection modify id   <TAB>  lo
because $cur is set to '  '.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-11-13 14:42:59 +01:00
..
completion cli: fix bash completion for curser not at EOL 2013-11-13 14:42:59 +01:00
src cli: add support for getting/setting hostname to nmcli (rh #1018510) 2013-11-13 12:19:51 +01:00
Makefile.am Add bash-completion file for nmcli 2013-02-19 21:20:59 +01:00