Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 801 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 801 Bytes

asadmin-completion

Bash completion support for asadmin.

The contained completion routines provide support for completing:

  • asadmin undeploy - tab complete on deployed modules
  • asadmin deploy - lists directories and java archives (ear, war and jar)

Installation for Bash

To achieve asadmin completion nirvana:

  1. Install bash-completion.

  2. Install this file. Either:

    a. Place it in a bash-completion.d folder:

    • /etc/bash-completion.d
    • /usr/local/etc/bash-completion.d
    • ~/bash-completion.d

    b. Or, copy it somewhere (e.g. ~/.asadmin-completion.bash) and put the following line in your .bashrc:

       source ~/.asadmin-completion.bash