Abhinav M <abhinavmanchanda@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date
Message
fix(docker): rename `dls` and `dlsa` aliases to avoid conflict (#10852)
Diff
1diff --git a/plugins/docker/README.md b/plugins/docker/README.md
2index 8a88bda48df11a341bf87c8bb051802965469e8d..2b721c770760c4475557c2aa362c955cb5544734 100644
3--- a/plugins/docker/README.md
4+++ b/plugins/docker/README.md
5@@ -40,8 +40,8 @@ the lines below to your zshrc file**, but be aware of the side effects:
6 | dbl | `docker build` | Build an image from a Dockerfile |
7 | dcin | `docker container inspect` | Display detailed information on one or more containers |
8 | dlo | `docker container logs` | Fetch the logs of a docker container |
9-| dls | `docker container ls` | List all the running docker containers |
10-| dlsa | `docker container ls -a` | List all running and stopped containers |
11+| dcls | `docker container ls` | List all the running docker containers |
12+| dclsa | `docker container ls -a` | List all running and stopped containers |
13 | dpo | `docker container port` | List port mappings or a specific mapping for the container |
14 | dpu | `docker pull` | Pull an image or a repository from a registry |
15 | dr | `docker container run` | Create a new container and start it using the specified command |
16diff --git a/plugins/docker/docker.plugin.zsh b/plugins/docker/docker.plugin.zsh
17index 1d1ed5f5f8f197d8beb5d09d283412b9741cf2a9..843c8e241d538f24e74d4333134a52b610d5713e 100644
18--- a/plugins/docker/docker.plugin.zsh
19+++ b/plugins/docker/docker.plugin.zsh
20@@ -5,8 +5,8 @@ alias dtop='docker top'
21 # docker containers
22 alias dcin='docker container inspect'
23 alias dlo='docker container logs'
24-alias dls='docker container ls'
25-alias dlsa='docker container ls -a'
26+alias dcls='docker container ls'
27+alias dclsa='docker container ls -a'
28 alias dpo='docker container port'
29 alias dr='docker container run'
30 alias drit='docker container run -it'