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:

[PostgreSQL] How to create read-only standby replica (follower)

This link  and this link explain it really well and concise