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 docker-completion.sh file
complete -F _docker d
Reload your shell. And that's it!
Note: change the last
to other character you aliased docker to
March 27, 2015
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)
[PostgreSQL] How to create read-only standby replica (follower)
This link and this link explain it really well and concise
VIM - How to format and syntax highlight JSON file
Formatting Run this command in shell sudo cpan JSON::XS Put this line to ~/.vimrc map <leader> jt <Esc> : %! json_xs -f json ...
FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
This error message from chef is not very useful FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit ...
[PostgreSQL][Mac] Modify root password (Forgot password)
sudo su postgres supply your Mac password modify /Library/PostgreSQL/9.x/data/pg_hba.conf from local all all md5 to local all all ...