summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/zsh.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index eb606fc9..75e0ee0d 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -183,6 +183,24 @@ in
       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";