FIX: renamed _docker-enter-completion.zsh -> _docker-enter
This commit is contained in:
parent
1ca8d03279
commit
6380293961
1 changed files with 0 additions and 0 deletions
12
_docker-enter
Normal file
12
_docker-enter
Normal file
|
@ -0,0 +1,12 @@
|
|||
#compdef docker-enter
|
||||
|
||||
_docker-enter() {
|
||||
local state
|
||||
_arguments -C '1: :->container'
|
||||
|
||||
case $state in
|
||||
(container) compadd -- $(docker ps --format '{{.Names}}');;
|
||||
esac
|
||||
}
|
||||
|
||||
_docker-enter "$@"
|
Loading…
Add table
Add a link
Reference in a new issue