K
K
krll-k2014-06-10 16:28:53
linux
krll-k, 2014-06-10 16:28:53

How to enable auto-continuation of server application command names via shell?

When I try to register service apa [I press Tab], it is not completed to apache2 - why? When I type /etc/init.d/apa [press Tab], path completion works. How to enable auto-continuation of server application command names through the service program shell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2014-06-10
@krll-k


zsh can do this, it is possible that /etc/init.d/apa will work with bash-completion as well . it looks at file/directory names

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question