summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav M <abhinavmanchanda@users.noreply.github.com>2022-04-13 18:35:55 +0530
committerGitHub <noreply@github.com>2022-04-13 15:05:55 +0200
commit7ea6ff8d04acd665ebcd151d183ec67af5be1281 (patch)
treebe976ad9639b99638b61f85a44deb0956435f3a8
parentac82e156ca89ec7554e3cc9e2119c750c0b9b305 (diff)
downloadzsh-7ea6ff8d04acd665ebcd151d183ec67af5be1281.tar.gz
zsh-7ea6ff8d04acd665ebcd151d183ec67af5be1281.tar.bz2
zsh-7ea6ff8d04acd665ebcd151d183ec67af5be1281.zip
fix(docker): rename `dls` and `dlsa` aliases to avoid conflict (#10852)
-rw-r--r--plugins/docker/README.md4
-rw-r--r--plugins/docker/docker.plugin.zsh4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/docker/README.md b/plugins/docker/README.md
index 8a88bda48..2b721c770 100644
--- a/plugins/docker/README.md
+++ b/plugins/docker/README.md
@@ -40,8 +40,8 @@ the lines below to your zshrc file**, but be aware of the side effects:
| dbl | `docker build` | Build an image from a Dockerfile |
| dcin | `docker container inspect` | Display detailed information on one or more containers |
| dlo | `docker container logs` | Fetch the logs of a docker container |
-| dls | `docker container ls` | List all the running docker containers |
-| dlsa | `docker container ls -a` | List all running and stopped containers |
+| dcls | `docker container ls` | List all the running docker containers |
+| dclsa | `docker container ls -a` | List all running and stopped containers |
| dpo | `docker container port` | List port mappings or a specific mapping for the container |
| dpu | `docker pull` | Pull an image or a repository from a registry |
| dr | `docker container run` | Create a new container and start it using the specified command |
diff --git a/plugins/docker/docker.plugin.zsh b/plugins/docker/docker.plugin.zsh
index 1d1ed5f5f..843c8e241 100644
--- a/plugins/docker/docker.plugin.zsh
+++ b/plugins/docker/docker.plugin.zsh
@@ -5,8 +5,8 @@ alias dtop='docker top'
# docker containers
alias dcin='docker container inspect'
alias dlo='docker container logs'
-alias dls='docker container ls'
-alias dlsa='docker container ls -a'
+alias dcls='docker container ls'
+alias dclsa='docker container ls -a'
alias dpo='docker container port'
alias dr='docker container run'
alias drit='docker container run -it'