Completed autocompletion

Autocompletion now resolves all arguments.

Also renamed 'gotty-bash-completion.sh' to 'gotty' to comply with the
normal naming scheme for completion files in /etc/bash_completion.d .
This commit is contained in:
Martin Lund 2014-09-27 18:26:12 +02:00
parent cfa4430370
commit df8652f05d
2 changed files with 25 additions and 24 deletions

View file

@ -1,4 +1,4 @@
bin_PROGRAMS = gotty
gotty_SOURCES = tty.c options.c device.c main.c
bashcompletiondir=$(sysconfdir)/bash_completion.d
dist_bashcompletion_DATA=gotty-bash-completion.sh
dist_bashcompletion_DATA=bash-completion/gotty