all repos — nixfiles @ 999d64c7c0be269edf1ab598ecac9971100e112f

System and user configuration, managed by nix and home-manager

zsh: use dc function for docker-compose aliases
Alan Pearce alan@alanpearce.eu
Thu, 17 Oct 2019 17:00:41 +0200
commit

999d64c7c0be269edf1ab598ecac9971100e112f

parent

27a7522b57e93670b142afc8de57d2c111f697a0

1 files changed, 9 insertions(+), 10 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -190,16 +190,15 @@ 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";
+      dcb = "dc build";
+      dcd = "dc down";
+      dcj = "dc pull";
+      dck = "dc push";
+      dcl = "dc logs";
+      dclf = "dc logs -f";
+      dcu = "dc up";
+      dcud = "dc up -d";
+      dcr = "dc restart";
 
       g = "rg";