Browse Source

Merge pull request #6046 from thomasleveil/patch-1

Update ubuntulinux.md - bash completion
James Turnbull 11 years ago
parent
commit
cf47b46036
2 changed files with 2 additions and 0 deletions
  1. 1 0
      docs/sources/installation/debian.md
  2. 1 0
      docs/sources/installation/ubuntulinux.md

+ 1 - 0
docs/sources/installation/debian.md

@@ -30,6 +30,7 @@ To install the latest Debian package (may not be the latest Docker release):
     $ sudo apt-get update
     $ sudo apt-get update
     $ sudo apt-get install docker.io
     $ sudo apt-get install docker.io
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
+    $ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
 
 
 To verify that everything has worked as expected:
 To verify that everything has worked as expected:
 
 

+ 1 - 0
docs/sources/installation/ubuntulinux.md

@@ -36,6 +36,7 @@ To install the latest Ubuntu package (may not be the latest Docker release):
     $ sudo apt-get update
     $ sudo apt-get update
     $ sudo apt-get install docker.io
     $ sudo apt-get install docker.io
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
+    $ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
 
 
 To verify that everything has worked as expected:
 To verify that everything has worked as expected: