- Notifications
You must be signed in to change notification settings - Fork0
terminalsession is a very simple terminal session manager built on top of dtach and fzf
License
daniloqueiroz/terminalsession
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
In my current setup I usebspwm as my window manager andalacrittyas my terminal emulator and I wanted a super simple terminal session manager to use with it.
After usingscreen andtmux,I realized that I didn't need all the bell and whistles provided by such tools.In fact, the highly rich feature set of said tools would get in my way many times.
I decided to migrate totab-rs, which is much more lean and heavilyinspiredterminalsession. Although much more simpler than other tools,tab-rs
has a few things that I dislike,such as configurable sessions (not required, but once again a feature I don't need), use of websocket to connect to the server,and a few annoying bugs.
terminalsession
is a bashterminal session manager built on topofdtach andfzf (for interactive mode).
terminalsession
doesn't requires any configuration and doesn't provide any window management capabilities. It allowsyou tolist,create,attach andkill$SHELL sessions.It also provides a interactive mode, that can be used as the initial program for your terminal emulator.That's is the full feature set!
terminalsession
stores thedtach sock files are stored in the$XDG_RUNTIME_DIR dir (fallback to/tmp
).All sessions have an environment variable$TERMINALSESSION
set with the name of the session - you can use itto display the name of the current session in your prompt.
tsctl list
- list all existing sessionstsctl attach <session_name>
- attach to an existing session or create & attach to a new one sessiontsctl kill <session_name>
- kills an existing session (sendsSIGTERM signal)tsctl
- launch interactive mode
Once attached to a session, useC-a to detach from it.
In interactive mode:
- select an exising session from the list and pressenter to attach to it
- type the name for a new session and pressenter to create & attach to it
- select an existing session an pressC-k to kill it
- pressC-r to reload the session list
- pressC-h for help
About
terminalsession is a very simple terminal session manager built on top of dtach and fzf