The Ops Community ⚙️

Emre for Z-Shell

Posted on • Originally published at dev.to on

✨〰️ ZI 〰️✨ Zsh-Py3-HTTP | Auto Spawned service

ZI Swiss army knife


❮ ZI ❯ 🧙‍‍♀️ A Swiss Army Knife for Zsh.

Designed to glue everything together. 🔗

https://z.digitalclouds.dev | GitHub | Discussions | Localize


This Zsh service-plugin will serve given directory (plugin's directory by default) using Python's 3 HTTP server.


📥 Install with ❮ ZI

The service-plugin supports loading single plugin instance per all active Zsh sessions, in background.

zi ice service'py3http'
zi light z-shell/zservice-py3http

Enter fullscreen mode Exit fullscreen mode

🧮 Explanation of Zsh-spawned services

  1. First Zsh instance that will gain a lock will spawn the service.
  2. Other Zsh instances will wait.
  3. When you close the initial Zsh session, another Zsh will gain lock and resume the service.

Top comments (0)