aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté <msabate@suse.com>2015-07-09 11:09:20 +0200
committerMiquel Sabaté <msabate@suse.com>2015-07-09 11:09:20 +0200
commitb82d4fe5534cfb37657dbb9fa930d5df203d3702 (patch)
tree8d1fab42a248895009a9749126b8a84df9b51804
parent9952c71b73a34974e061f806b9a12c9a702c1814 (diff)
downloaddotfiles-b82d4fe5534cfb37657dbb9fa930d5df203d3702.tar.gz
dotfiles-b82d4fe5534cfb37657dbb9fa930d5df203d3702.zip
bash: complete the `docker` command if possible
-rw-r--r--bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 9c764b9..d8f07eb 100644
--- a/bashrc
+++ b/bashrc
@@ -90,6 +90,11 @@ if [ -f $HOME/.tdcompletion.sh ]; then
source $HOME/.tdcompletion.sh
fi
+# Complete the `docker` command if possible.
+if [ -f $HOME/.dockercompletion.sh ]; then
+ source $HOME/.dockercompletion.sh
+fi
+
# Add the `scripts` dir to the path if possible. See:
# https://github.com/mssola/scripts.
if [ -d $HOME/.scripts ]; then
@@ -108,4 +113,4 @@ function gi() {
# Finally get RVM straight.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
-
+export PATH="$PATH:$HOME/.rvm/bin"