DEV Community

Cover image for ⚙️ ❮ Zsh-Py3-HTTP ❯ | Auto Spawned service
❮ ZI ❯ for Z-Shell

Posted on • Updated on

⚙️ ❮ Zsh-Py3-HTTP ❯ | Auto Spawned service

Logo ❮ ZI ❯ Service - Py3HTTP

https://z.digitalclouds.dev | GitHub | Twitter


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.

Discussion (0)