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
- First Zsh instance that will gain a lock will spawn the service.
- Other Zsh instances will wait.
- When you close the initial Zsh session, another Zsh will gain lock and resume the service.