Friday, March 27, 2015

Set bash completion when aliasing docker to d

After you installed docker bash completion, either by sourcing it from your .bash_profile or installing it to bash-completion, add this line to the end of your file.
complete -F _docker d
Reload your shell. And that's it!

Note: change the last d to other character you aliased docker to

No comments:

Useful commands for observe running JVM process

$ jcmd List running processes $ jinfo  Get details of a process $ jps -lvm List running processes with params