zsh: add docker aliases
Alan Pearce alan@alanpearce.eu
Thu, 17 Oct 2019 14:03:58 +0200
1 files changed, 18 insertions(+), 0 deletions(-)
jump to
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -183,6 +183,24 @@ # Enable the following commands to support aliases. sudo = "sudo "; watch = "watch "; + d = "docker"; + db = "docker build"; + dr = "docker run"; + di = "docker image"; + dj = "docker pull"; + dk = "docker push"; + + dc = "docker-compose"; + dcb = "docker-compose build"; + dcd = "docker-compose down"; + dcj = "docker-compose pull"; + dck = "docker-compose push"; + dcl = "docker-compose logs"; + dclf = "docker-compose logs -f"; + dcu = "docker-compose up"; + dcud = "docker-compose up -d"; + dcr = "docker-compose restart"; + g = "rg"; ga = "git add";