Comments (4)
in the meanwhile you can try to use a alias like 'alias docker-compose="docker compose"' in your .bashrc
from oh-my-bash.
I don't think updating this will make the completion for docker compose
work. The completion for docker compose
is a part of the completion for the docker
command, so you can just set up the completion for the docker
.
The docker
CLI provides the completion script, and it should be somewhere in your system if you install docker
. For example, it might be located at something like /usr/share/bash-completion/completions/docker
or /etc/bash_completion.d/docker.sh
. If it is the case, as far as you have bash-completion
, the completion should be automatically available without any plugin.
Do you have bash-completion
in your system? Do you have any docker
files in /usr/share/bash-completion/completions
or in /etc/bash_completion.d
?
from oh-my-bash.
Meanwhile, maybe I can still update this script to the latest version of Docker Compose v1, though it doesn't make the completion for docker compose
work.
https://github.com/docker/compose/blob/v1/contrib/completion/bash/docker-compose
from oh-my-bash.
OK, the problem seems to be that the docker completion in this repository (completions/docker.completion.sh
) is so old that it doesn't support the recent plugin completions. We can update this, though I think as far as bash-completion
and docker
are properly installed in the user's system, the user doesn't need to enable those completions bundled in Oh My Bash.
from oh-my-bash.
Related Issues (20)
- cannot update .ohmybash HOT 1
- Wrong shell expression output HOT 1
- problems with cd on sshfs mounted directory with git repositories HOT 2
- Problems with tmux > detaching or killing session HOT 1
- Allow for a way to not alter bash files directly, but to make changes that can be sourced HOT 3
- Robby russell theme issue HOT 2
- .bashrc is running twice when SSH into remote server HOT 4
- How to use "U+e0b6" () at the beginning of the prompt? HOT 1
- How to autocomplete the files with lsd instead of ls? HOT 1
- sudo: _omb_util_alias_init_mv: command not found HOT 5
- how to show the directory where the command was executed HOT 7
- Custom git completion does not work as expected HOT 12
- Completion broken when sourcing file HOT 13
- Theme not being applied HOT 2
- Sin soporte para venv-conda
- Modifying git-prompt.sh does not take effect HOT 1
- lambda theme for oh my bash HOT 1
- The `DISABLE_UPDATE_PROMPT=true` on `~/.bashrc` doesn't work. HOT 4
- Theme: wanelo throws error HOT 1
- ssh completion doesn't include global ssh hosts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oh-my-bash.