1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

fix(docker): rename dls and dlsa aliases to avoid conflict (#10852)

This commit is contained in:
Abhinav M 2022-04-13 18:35:55 +05:30 committed by GitHub
parent ac82e156ca
commit 7ea6ff8d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 | | dbl | `docker build` | Build an image from a Dockerfile |
| dcin | `docker container inspect` | Display detailed information on one or more containers | | dcin | `docker container inspect` | Display detailed information on one or more containers |
| dlo | `docker container logs` | Fetch the logs of a docker container | | dlo | `docker container logs` | Fetch the logs of a docker container |
| dls | `docker container ls` | List all the running docker containers | | dcls | `docker container ls` | List all the running docker containers |
| dlsa | `docker container ls -a` | List all running and stopped 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 | | 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 | | 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 | | dr | `docker container run` | Create a new container and start it using the specified command |

View file

@ -5,8 +5,8 @@ alias dtop='docker top'
# docker containers # docker containers
alias dcin='docker container inspect' alias dcin='docker container inspect'
alias dlo='docker container logs' alias dlo='docker container logs'
alias dls='docker container ls' alias dcls='docker container ls'
alias dlsa='docker container ls -a' alias dclsa='docker container ls -a'
alias dpo='docker container port' alias dpo='docker container port'
alias dr='docker container run' alias dr='docker container run'
alias drit='docker container run -it' alias drit='docker container run -it'