All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

zmx: Terminal Session Persistence Tool for Maintaining Processes Across Disconnections

By

birdculture

5mo ago· 8 min readenCode

Summary

zmx is a terminal session persistence tool that allows users to maintain terminal sessions across disconnections, similar to tmux but with a different approach. The tool provides session persistence without visual indicators in the terminal, instead offering an environment variable (ZMX_SESSION) that users can check in their shell prompts to display session status. The article covers installation methods, usage examples, and configuration for various shells including fish, bash, and zsh.

Key quotes

· 4 pulled
Session persistence for terminal processes.
When you attach to a zmx session, we don't provide any indication that you are inside zmx. We do provide an environment variable ZMX_SESSION which contains the session name.
We recommend checking for that env var inside your prompt and displaying some indication there.
You might not need tmux
Snippet from the RSS feed
Session persistence for terminal processes. Contribute to neurosnap/zmx development by creating an account on GitHub.

You might also wanna read