summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorChriss <77172965+realChriss@users.noreply.github.com>2025-03-25 18:04:39 +0100
committerGitHub <noreply@github.com>2025-03-25 18:04:39 +0100
commitfa396ad7718af77e896472772bffd4a7e9110193 (patch)
tree2970de224655d8302d9d93d480999e2e608aeb98 /plugins
parent4efdc90dba95200b010def504c471f0e191fea84 (diff)
downloadzsh-fa396ad7718af77e896472772bffd4a7e9110193.tar.gz
zsh-fa396ad7718af77e896472772bffd4a7e9110193.tar.bz2
zsh-fa396ad7718af77e896472772bffd4a7e9110193.zip
feat(docker): add alias for stats (#12988)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docker/README.md1
-rw-r--r--plugins/docker/docker.plugin.zsh1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/docker/README.md b/plugins/docker/README.md
index a9f842db2..0bc24b54a 100644
--- a/plugins/docker/README.md
+++ b/plugins/docker/README.md
@@ -77,6 +77,7 @@ If you use Podman's Docker wrapper, you need to enable legacy completion. See ab
| drs | `docker container restart` | Restart one or more containers |
| dsta | `docker stop $(docker ps -q)` | Stop all running containers |
| dstp | `docker container stop` | Stop one or more running containers |
+| dsts | `docker stats` | Display real-time streaming statistics for containers |
| dtop | `docker top` | Display the running processes of a container |
| dvi | `docker volume inspect` | Display detailed information about one or more volumes |
| dvls | `docker volume ls` | List all the volumes known to docker |
diff --git a/plugins/docker/docker.plugin.zsh b/plugins/docker/docker.plugin.zsh
index 16db77df6..5268f6cd6 100644
--- a/plugins/docker/docker.plugin.zsh
+++ b/plugins/docker/docker.plugin.zsh
@@ -28,6 +28,7 @@ alias dst='docker container start'
alias drs='docker container restart'
alias dsta='docker stop $(docker ps -q)'
alias dstp='docker container stop'
+alias dsts='docker stats'
alias dtop='docker top'
alias dvi='docker volume inspect'
alias dvls='docker volume ls'