Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
bash-completion /
completions /
Delete
Unzip
Name
Size
Permission
Date
Action
a2disconf
1.44
KB
-rw-r--r--
2024-03-18 11:41
a2dismod
1.44
KB
-rw-r--r--
2024-03-18 11:41
a2dissite
1.44
KB
-rw-r--r--
2024-03-18 11:41
a2enconf
1.44
KB
-rw-r--r--
2024-03-18 11:41
a2enmod
1.44
KB
-rw-r--r--
2024-03-18 11:41
a2ensite
1.44
KB
-rw-r--r--
2024-03-18 11:41
add-apt-repository
2.19
KB
-rw-r--r--
2026-01-05 15:30
addpart
484
B
-rw-r--r--
2026-03-06 16:00
apport-bug
5.21
KB
-rw-r--r--
2026-04-24 11:18
apport-cli
5.21
KB
-rw-r--r--
2026-04-24 11:18
apport-collect
819
B
-rw-r--r--
2026-04-24 11:18
apport-unpack
433
B
-rw-r--r--
2026-04-24 11:18
apt
7.34
KB
-rw-r--r--
2024-10-22 13:02
apt-add-repository
2.19
KB
-rw-r--r--
2026-01-05 15:30
blkdiscard
698
B
-rw-r--r--
2026-03-06 16:00
blkid
2.1
KB
-rw-r--r--
2026-03-06 16:00
blkzone
1014
B
-rw-r--r--
2026-03-06 16:00
blockdev
775
B
-rw-r--r--
2026-03-06 16:00
busctl
7.25
KB
-rw-r--r--
2024-02-27 17:26
bwrap
1.13
KB
-rw-r--r--
2024-03-26 21:08
cfdisk
608
B
-rw-r--r--
2026-03-06 16:00
chcpu
1.49
KB
-rw-r--r--
2026-03-06 16:00
chmem
501
B
-rw-r--r--
2026-03-06 16:00
chrt
920
B
-rw-r--r--
2026-03-06 16:00
col
460
B
-rw-r--r--
2026-03-06 16:00
colcrt
484
B
-rw-r--r--
2026-03-06 16:00
colrm
509
B
-rw-r--r--
2026-03-06 16:00
column
1.43
KB
-rw-r--r--
2026-03-06 16:00
ctrlaltdel
335
B
-rw-r--r--
2026-03-06 16:00
debconf
293
B
-rw-r--r--
2024-04-12 12:40
debconf-show
293
B
-rw-r--r--
2024-04-12 12:40
delpart
563
B
-rw-r--r--
2026-03-06 16:00
devlink
26.76
KB
-rw-r--r--
2026-04-15 06:53
dmesg
1.21
KB
-rw-r--r--
2026-03-06 16:00
docker
111.89
KB
-rw-r--r--
2024-06-29 00:00
docker-compose
13.18
KB
-rw-r--r--
2021-05-10 10:30
eject
1.22
KB
-rw-r--r--
2026-03-06 16:00
fallocate
721
B
-rw-r--r--
2026-03-06 16:00
fdisk
1.87
KB
-rw-r--r--
2026-03-06 16:00
findfs
695
B
-rw-r--r--
2026-03-06 16:00
findmnt
3.12
KB
-rw-r--r--
2026-03-06 16:00
flock
874
B
-rw-r--r--
2026-03-06 16:00
fsck
770
B
-rw-r--r--
2026-03-06 16:00
fsck.cramfs
702
B
-rw-r--r--
2026-03-06 16:00
fsck.minix
418
B
-rw-r--r--
2026-03-06 16:00
fsfreeze
524
B
-rw-r--r--
2026-03-06 16:00
fstrim
755
B
-rw-r--r--
2026-03-06 16:00
gapplication
1.36
KB
-rw-r--r--
2024-03-07 21:35
gdbus
935
B
-rw-r--r--
2024-03-07 21:35
getopt
815
B
-rw-r--r--
2026-03-06 16:00
gio
3.74
KB
-rw-r--r--
2024-03-07 21:35
git
80.58
KB
-rw-r--r--
2025-07-02 20:23
gitk
80.58
KB
-rw-r--r--
2025-07-02 20:23
gresource
1.32
KB
-rw-r--r--
2024-03-07 21:35
gsettings
2.76
KB
-rw-r--r--
2024-03-07 21:35
hardlink
1.37
KB
-rw-r--r--
2026-03-06 16:00
hexdump
1007
B
-rw-r--r--
2026-03-06 16:00
hostnamectl
2.69
KB
-rw-r--r--
2024-02-27 17:26
ionice
1.13
KB
-rw-r--r--
2026-03-06 16:00
ipcmk
576
B
-rw-r--r--
2026-03-06 16:00
ipcrm
1.39
KB
-rw-r--r--
2026-03-06 16:00
ipcs
514
B
-rw-r--r--
2026-03-06 16:00
isosize
529
B
-rw-r--r--
2026-03-06 16:00
journalctl
6.1
KB
-rw-r--r--
2024-02-27 17:26
kernel-install
1.65
KB
-rw-r--r--
2024-02-27 17:26
kmod
3.16
KB
-rw-r--r--
2026-04-30 12:32
last
949
B
-rw-r--r--
2026-03-06 16:00
lastb
949
B
-rw-r--r--
2026-03-06 16:00
ldattach
1.44
KB
-rw-r--r--
2026-03-06 16:00
localectl
3.25
KB
-rw-r--r--
2024-02-27 17:26
logger
1.52
KB
-rw-r--r--
2026-03-06 16:00
loginctl
4.05
KB
-rw-r--r--
2024-02-27 17:26
look
683
B
-rw-r--r--
2026-03-06 16:00
losetup
1.7
KB
-rw-r--r--
2026-03-06 16:00
lsblk
2.19
KB
-rw-r--r--
2026-03-06 16:00
lscpu
1.04
KB
-rw-r--r--
2026-03-06 16:00
lsipc
1.28
KB
-rw-r--r--
2026-03-06 16:00
lslocks
1.06
KB
-rw-r--r--
2026-03-06 16:00
lslogins
1.71
KB
-rw-r--r--
2026-03-06 16:00
lsmem
1.04
KB
-rw-r--r--
2026-03-06 16:00
lsns
1.18
KB
-rw-r--r--
2026-03-06 16:00
mcookie
599
B
-rw-r--r--
2026-03-06 16:00
mesg
412
B
-rw-r--r--
2026-03-06 16:00
mkfs
659
B
-rw-r--r--
2026-03-06 16:00
mkfs.bfs
677
B
-rw-r--r--
2026-03-06 16:00
mkfs.cramfs
839
B
-rw-r--r--
2026-03-06 16:00
mkfs.minix
749
B
-rw-r--r--
2026-03-06 16:00
mkpasswd
548
B
-rw-r--r--
2024-04-01 18:14
mkswap
876
B
-rw-r--r--
2026-03-06 16:00
more
752
B
-rw-r--r--
2026-03-06 16:00
mount
2.06
KB
-rw-r--r--
2026-03-06 16:00
mountpoint
498
B
-rw-r--r--
2026-03-06 16:00
namei
500
B
-rw-r--r--
2026-03-06 16:00
networkctl
2.47
KB
-rw-r--r--
2024-02-27 17:26
npm
1.84
KB
-rw-r--r--
2023-11-23 07:39
nsenter
1.19
KB
-rw-r--r--
2026-03-06 16:00
partx
1.27
KB
-rw-r--r--
2026-03-06 16:00
pivot_root
387
B
-rw-r--r--
2026-03-06 16:00
pkcon
2.67
KB
-rw-r--r--
2023-11-08 20:35
prlimit
1.3
KB
-rw-r--r--
2026-03-06 16:00
pro
1.98
KB
-rw-r--r--
2026-04-07 18:21
readprofile
679
B
-rw-r--r--
2026-03-06 16:00
renice
784
B
-rw-r--r--
2026-03-06 16:00
resizepart
605
B
-rw-r--r--
2026-03-06 16:00
resolvectl
6.45
KB
-rw-r--r--
2024-02-27 17:26
rev
439
B
-rw-r--r--
2026-03-06 16:00
rtcwake
1.06
KB
-rw-r--r--
2026-03-06 16:00
runuser
892
B
-rw-r--r--
2026-03-06 16:00
script
1.04
KB
-rw-r--r--
2026-03-06 16:00
scriptlive
762
B
-rw-r--r--
2026-03-06 16:00
scriptreplay
917
B
-rw-r--r--
2026-03-06 16:00
setarch
790
B
-rw-r--r--
2026-03-06 16:00
setpriv
2.76
KB
-rw-r--r--
2026-03-06 16:00
setsid
440
B
-rw-r--r--
2026-03-06 16:00
setterm
2.53
KB
-rw-r--r--
2026-03-06 16:00
sfdisk
2.1
KB
-rw-r--r--
2026-03-06 16:00
snap
2.48
KB
-rw-r--r--
2026-05-28 18:00
su
892
B
-rw-r--r--
2026-03-06 16:00
swaplabel
635
B
-rw-r--r--
2026-03-06 16:00
swapoff
743
B
-rw-r--r--
2026-03-06 16:00
swapon
1.97
KB
-rw-r--r--
2026-03-06 16:00
systemctl
15.72
KB
-rw-r--r--
2026-06-05 15:36
systemd-analyze
7.01
KB
-rw-r--r--
2024-02-27 17:26
systemd-cat
1.68
KB
-rw-r--r--
2024-02-27 17:26
systemd-cgls
2.2
KB
-rw-r--r--
2024-02-27 17:26
systemd-cgtop
2.19
KB
-rw-r--r--
2024-02-27 17:26
systemd-cryptenroll
3.5
KB
-rw-r--r--
2024-02-27 17:26
systemd-delta
1.75
KB
-rw-r--r--
2024-02-27 17:26
systemd-detect-virt
1.32
KB
-rw-r--r--
2024-02-27 17:26
systemd-dissect
3.78
KB
-rw-r--r--
2024-02-27 17:26
systemd-id128
2.09
KB
-rw-r--r--
2024-02-27 17:26
systemd-path
1.7
KB
-rw-r--r--
2024-02-27 17:26
systemd-resolve
2.67
KB
-rw-r--r--
2024-02-27 17:26
systemd-run
5.39
KB
-rw-r--r--
2024-02-27 17:26
systemd-sysext
2.39
KB
-rw-r--r--
2024-02-27 17:26
taskset
1.18
KB
-rw-r--r--
2026-03-06 16:00
tc
26.83
KB
-rw-r--r--
2026-04-15 06:53
timedatectl
2.95
KB
-rw-r--r--
2024-02-27 17:26
torsocks
30
B
-rw-r--r--
2023-02-10 20:29
ua
1.98
KB
-rw-r--r--
2026-04-07 18:21
ubuntu-bug
5.21
KB
-rw-r--r--
2026-04-24 11:18
uclampset
665
B
-rw-r--r--
2026-03-06 16:00
udevadm
10.5
KB
-rw-r--r--
2024-02-27 17:26
udisksctl
857
B
-rw-r--r--
2025-08-21 14:16
ul
655
B
-rw-r--r--
2026-03-06 16:00
umount
1.82
KB
-rw-r--r--
2026-03-06 16:00
unshare
936
B
-rw-r--r--
2026-03-06 16:00
update-initramfs
581
B
-rw-r--r--
2021-02-17 22:38
utmpdump
475
B
-rw-r--r--
2026-03-06 16:00
uuidd
862
B
-rw-r--r--
2026-03-06 16:00
uuidgen
657
B
-rw-r--r--
2026-03-06 16:00
uuidparse
727
B
-rw-r--r--
2026-03-06 16:00
wall
634
B
-rw-r--r--
2026-03-06 16:00
wdctl
1.34
KB
-rw-r--r--
2026-03-06 16:00
whereis
531
B
-rw-r--r--
2026-03-06 16:00
whois
1.33
KB
-rw-r--r--
2024-04-01 18:14
wipefs
1.21
KB
-rw-r--r--
2026-03-06 16:00
write
431
B
-rw-r--r--
2026-03-06 16:00
zramctl
1.26
KB
-rw-r--r--
2026-03-06 16:00
Save
Rename
#!/bin/bash # # bash completion for docker-compose # # This work is based on the completion for the docker command. # # This script provides completion of: # - commands and their options # - service names # - filepaths # # To enable the completions either: # - place this file in /etc/bash_completion.d # or # - copy this file to e.g. ~/.docker-compose-completion.sh and add the line # below to your .bashrc after bash completion features are loaded # . ~/.docker-compose-completion.sh __docker_compose_previous_extglob_setting=$(shopt -p extglob) shopt -s extglob __docker_compose_q() { docker-compose 2>/dev/null "${top_level_options[@]}" "$@" } # Transforms a multiline list of strings into a single line string # with the words separated by "|". __docker_compose_to_alternatives() { local parts=( $1 ) local IFS='|' echo "${parts[*]}" } # Transforms a multiline list of options into an extglob pattern # suitable for use in case statements. __docker_compose_to_extglob() { local extglob=$( __docker_compose_to_alternatives "$1" ) echo "@($extglob)" } # Determines whether the option passed as the first argument exist on # the commandline. The option may be a pattern, e.g. `--force|-f`. __docker_compose_has_option() { local pattern="$1" for (( i=2; i < $cword; ++i)); do if [[ ${words[$i]} =~ ^($pattern)$ ]] ; then return 0 fi done return 1 } # Returns `key` if we are currently completing the value of a map option (`key=value`) # which matches the extglob passed in as an argument. # This function is needed for key-specific completions. __docker_compose_map_key_of_current_option() { local glob="$1" local key glob_pos if [ "$cur" = "=" ] ; then # key= case key="$prev" glob_pos=$((cword - 2)) elif [[ $cur == *=* ]] ; then # key=value case (OSX) key=${cur%=*} glob_pos=$((cword - 1)) elif [ "$prev" = "=" ] ; then key=${words[$cword - 2]} # key=value case glob_pos=$((cword - 3)) else return fi [ "${words[$glob_pos]}" = "=" ] && ((glob_pos--)) # --option=key=value syntax [[ ${words[$glob_pos]} == @($glob) ]] && echo "$key" } # suppress trailing whitespace __docker_compose_nospace() { # compopt is not available in ancient bash versions type compopt &>/dev/null && compopt -o nospace } # Outputs a list of all defined services, regardless of their running state. # Arguments for `docker-compose ps` may be passed in order to filter the service list, # e.g. `status=running`. __docker_compose_services() { __docker_compose_q ps --services "$@" } # Applies completion of services based on the current value of `$cur`. # Arguments for `docker-compose ps` may be passed in order to filter the service list, # see `__docker_compose_services`. __docker_compose_complete_services() { COMPREPLY=( $(compgen -W "$(__docker_compose_services "$@")" -- "$cur") ) } # The services for which at least one running container exists __docker_compose_complete_running_services() { local names=$(__docker_compose_services --filter status=running) COMPREPLY=( $(compgen -W "$names" -- "$cur") ) } _docker_compose_build() { case "$prev" in --build-arg) COMPREPLY=( $( compgen -e -- "$cur" ) ) __docker_compose_nospace return ;; --memory|-m) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--build-arg --compress --force-rm --help --memory -m --no-cache --no-rm --pull --parallel -q --quiet" -- "$cur" ) ) ;; *) __docker_compose_complete_services --filter source=build ;; esac } _docker_compose_config() { case "$prev" in --hash) if [[ $cur == \\* ]] ; then COMPREPLY=( '\*' ) else COMPREPLY=( $(compgen -W "$(__docker_compose_services) \\\* " -- "$cur") ) fi return ;; esac COMPREPLY=( $( compgen -W "--hash --help --no-interpolate --profiles --quiet -q --resolve-image-digests --services --volumes" -- "$cur" ) ) } _docker_compose_create() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--build --force-recreate --help --no-build --no-recreate" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_docker_compose() { case "$prev" in --tlscacert|--tlscert|--tlskey) _filedir return ;; --file|-f) _filedir "y?(a)ml" return ;; --ansi) COMPREPLY=( $( compgen -W "never always auto" -- "$cur" ) ) return ;; --log-level) COMPREPLY=( $( compgen -W "debug info warning error critical" -- "$cur" ) ) return ;; --profile) COMPREPLY=( $( compgen -W "$(__docker_compose_q config --profiles)" -- "$cur" ) ) return ;; --project-directory) _filedir -d return ;; --env-file) _filedir return ;; $(__docker_compose_to_extglob "$daemon_options_with_args") ) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "$daemon_boolean_options $daemon_options_with_args $top_level_options_with_args --help -h --no-ansi --verbose --version -v" -- "$cur" ) ) ;; *) COMPREPLY=( $( compgen -W "${commands[*]}" -- "$cur" ) ) ;; esac } _docker_compose_down() { case "$prev" in --rmi) COMPREPLY=( $( compgen -W "all local" -- "$cur" ) ) return ;; --timeout|-t) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --rmi --timeout -t --volumes -v --remove-orphans" -- "$cur" ) ) ;; esac } _docker_compose_events() { case "$prev" in --json) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --json" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_exec() { case "$prev" in --index|--user|-u|--workdir|-w) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "-d --detach --help --index --privileged -T --user -u --workdir -w" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_help() { COMPREPLY=( $( compgen -W "${commands[*]}" -- "$cur" ) ) } _docker_compose_images() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --quiet -q" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_kill() { case "$prev" in -s) COMPREPLY=( $( compgen -W "SIGHUP SIGINT SIGKILL SIGUSR1 SIGUSR2" -- "$(echo $cur | tr '[:lower:]' '[:upper:]')" ) ) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help -s" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_logs() { case "$prev" in --tail) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--follow -f --help --no-color --no-log-prefix --tail --timestamps -t" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_pause() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_port() { case "$prev" in --protocol) COMPREPLY=( $( compgen -W "tcp udp" -- "$cur" ) ) return; ;; --index) return; ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --index --protocol" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_ps() { local key=$(__docker_compose_map_key_of_current_option '--filter') case "$key" in source) COMPREPLY=( $( compgen -W "build image" -- "${cur##*=}" ) ) return ;; status) COMPREPLY=( $( compgen -W "paused restarting running stopped" -- "${cur##*=}" ) ) return ;; esac case "$prev" in --filter) COMPREPLY=( $( compgen -W "source status" -S "=" -- "$cur" ) ) __docker_compose_nospace return; ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--all -a --filter --help --quiet -q --services" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_pull() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --ignore-pull-failures --include-deps --no-parallel --quiet -q" -- "$cur" ) ) ;; *) __docker_compose_complete_services --filter source=image ;; esac } _docker_compose_push() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --ignore-push-failures" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_restart() { case "$prev" in --timeout|-t) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --timeout -t" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_rm() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--force -f --help --stop -s -v" -- "$cur" ) ) ;; *) if __docker_compose_has_option "--stop|-s" ; then __docker_compose_complete_services else __docker_compose_complete_services --filter status=stopped fi ;; esac } _docker_compose_run() { case "$prev" in -e) COMPREPLY=( $( compgen -e -- "$cur" ) ) __docker_compose_nospace return ;; --entrypoint|--label|-l|--name|--user|-u|--volume|-v|--workdir|-w) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--detach -d --entrypoint -e --help --label -l --name --no-deps --publish -p --rm --service-ports -T --use-aliases --user -u --volume -v --workdir -w" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_scale() { case "$prev" in =) COMPREPLY=("$cur") return ;; --timeout|-t) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --timeout -t" -- "$cur" ) ) ;; *) COMPREPLY=( $(compgen -S "=" -W "$(__docker_compose_services)" -- "$cur") ) __docker_compose_nospace ;; esac } _docker_compose_start() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) ;; *) __docker_compose_complete_services --filter status=stopped ;; esac } _docker_compose_stop() { case "$prev" in --timeout|-t) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--help --timeout -t" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_top() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) ;; *) __docker_compose_complete_running_services ;; esac } _docker_compose_unpause() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) ;; *) __docker_compose_complete_services --filter status=paused ;; esac } _docker_compose_up() { case "$prev" in =) COMPREPLY=("$cur") return ;; --exit-code-from) __docker_compose_complete_services return ;; --scale) COMPREPLY=( $(compgen -S "=" -W "$(__docker_compose_services)" -- "$cur") ) __docker_compose_nospace return ;; --timeout|-t) return ;; esac case "$cur" in -*) COMPREPLY=( $( compgen -W "--abort-on-container-exit --always-recreate-deps --attach-dependencies --build -d --detach --exit-code-from --force-recreate --help --no-build --no-color --no-deps --no-log-prefix --no-recreate --no-start --renew-anon-volumes -V --remove-orphans --scale --timeout -t" -- "$cur" ) ) ;; *) __docker_compose_complete_services ;; esac } _docker_compose_version() { case "$cur" in -*) COMPREPLY=( $( compgen -W "--short" -- "$cur" ) ) ;; esac } _docker_compose() { local previous_extglob_setting=$(shopt -p extglob) shopt -s extglob local commands=( build config create down events exec help images kill logs pause port ps pull push restart rm run scale start stop top unpause up version ) # Options for the docker daemon that have to be passed to secondary calls to # docker-compose executed by this script. local daemon_boolean_options=" --skip-hostname-check --tls --tlsverify " local daemon_options_with_args=" --context -c --env-file --file -f --host -H --project-directory --project-name -p --tlscacert --tlscert --tlskey " # These options require special treatment when searching the command. local top_level_options_with_args=" --ansi --log-level --profile " COMPREPLY=() local cur prev words cword _get_comp_words_by_ref -n : cur prev words cword # search subcommand and invoke its handler. # special treatment of some top-level options local command='docker_compose' local top_level_options=() local counter=1 while [ $counter -lt $cword ]; do case "${words[$counter]}" in $(__docker_compose_to_extglob "$daemon_boolean_options") ) local opt=${words[counter]} top_level_options+=($opt) ;; $(__docker_compose_to_extglob "$daemon_options_with_args") ) local opt=${words[counter]} local arg=${words[++counter]} top_level_options+=($opt $arg) ;; $(__docker_compose_to_extglob "$top_level_options_with_args") ) (( counter++ )) ;; -*) ;; *) command="${words[$counter]}" break ;; esac (( counter++ )) done local completions_func=_docker_compose_${command//-/_} declare -F $completions_func >/dev/null && $completions_func eval "$previous_extglob_setting" return 0 } eval "$__docker_compose_previous_extglob_setting" unset __docker_compose_previous_extglob_setting complete -F _docker_compose docker-compose docker-compose.exe