summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-17 17:00:41 +0200
committerAlan Pearce2019-10-17 17:00:41 +0200
commit999d64c7c0be269edf1ab598ecac9971100e112f (patch)
tree9cdbbf42abb52c1acad22ed6f63dd95920a1c8b9
parent27a7522b57e93670b142afc8de57d2c111f697a0 (diff)
downloadnixfiles-999d64c7c0be269edf1ab598ecac9971100e112f.tar.lz
nixfiles-999d64c7c0be269edf1ab598ecac9971100e112f.tar.zst
nixfiles-999d64c7c0be269edf1ab598ecac9971100e112f.zip
zsh: use dc function for docker-compose aliases
-rw-r--r--user/settings/zsh.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index 04bcf68c..f5400f3e 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -190,16 +190,15 @@ in
       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";