From b82d4fe5534cfb37657dbb9fa930d5df203d3702 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Thu, 9 Jul 2015 11:09:20 +0200 Subject: bash: complete the `docker` command if possible --- bashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bashrc') 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" -- cgit v1.2.3