Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

terminalsession is a very simple terminal session manager built on top of dtach and fzf

License

NotificationsYou must be signed in to change notification settings

daniloqueiroz/terminalsession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

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

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.

usage

  • tsctl list - list all existing sessions
  • tsctl attach <session_name> - attach to an existing session or create & attach to a new one session
  • tsctl 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

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp