Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catmux script #40

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add catmux script
This helper should maket it easier to interact with running catmux sessions.
  • Loading branch information
fmauch committed Jan 29, 2024
commit 06ca4bef375c2259e5d510864bbab8b84a922df9
9 changes: 9 additions & 0 deletions script/catmux
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# This script serves as an entry point to use the `catmux` command similar to
# the `tmux` command. Since catmux starts its sessions on its own server by
# default this script should provide a simple alternative to interact with
# catmux sessions easily.

TMUX_SERVER="${CATMUX_DEFAULT_SERVER:-catmux}"

tmux -L $TMUX_SERVER $@
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
entry_points={
"console_scripts": ["catmux_create_session=catmux.catmux_create_session:main"]
},
scripts=["script/catmux"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down