-
-
Notifications
You must be signed in to change notification settings - Fork 674
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
Improve action new-tab #3196
base: main
Are you sure you want to change the base?
Improve action new-tab #3196
Conversation
A few questions:
|
Bumping this issue - currently this is blocking me from implementing some extremely useful scripting that I use all the time in tmux. The ability to create a new tab with a specified command in it seems like an extremely basic and necessary feature for any amount of scripting in Zellij, and is a major detriment to adoption of Zellij in my team. |
7be9a9e
to
461ea7c
Compare
A few updates:
Tests pass, and I've been playing around and it seems to work properly. |
* Can now spawn new tab in specified directory without needing to specify layout * Options to specify initial run command (plus args) or file to edit into the new tab
Improvements to
zellij action new-tab
:--cwd <dir>
no longer requires specifying a layout--run <command>
(and--args <arg>
) to run a command--edit <filename>
to launch editor of the specified fileA few other cleanups along the way:
.gitignore
to add.idea
project files (JetBrains tools like CLion/RustRover).gitignore
to adddocker-compose.override.yml
(for example to set additional SELinux settings when running tests)docker-compose.yml
since otherwise it could be treated as a boolean and rejectedFixes #2981