diff options
| author | Miquel Sabaté <msabate@suse.com> | 2015-07-09 11:09:20 +0200 |
|---|---|---|
| committer | Miquel Sabaté <msabate@suse.com> | 2015-07-09 11:09:20 +0200 |
| commit | b82d4fe5534cfb37657dbb9fa930d5df203d3702 (patch) | |
| tree | 8d1fab42a248895009a9749126b8a84df9b51804 /bashrc | |
| parent | 9952c71b73a34974e061f806b9a12c9a702c1814 (diff) | |
| download | dotfiles-b82d4fe5534cfb37657dbb9fa930d5df203d3702.tar.gz dotfiles-b82d4fe5534cfb37657dbb9fa930d5df203d3702.zip | |
bash: complete the `docker` command if possible
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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" |
