post create none action
This commit is contained in:
@@ -105,7 +105,7 @@ public record AppConfig(
|
||||
defaultScrollbackEditorCommand(),
|
||||
"./.worktrees",
|
||||
",",
|
||||
"",
|
||||
"none",
|
||||
"SIGTERM",
|
||||
Map.of(),
|
||||
Map.ofEntries(
|
||||
|
||||
@@ -375,6 +375,7 @@ final class TerminalWindow {
|
||||
}
|
||||
|
||||
switch (action.trim().toLowerCase(Locale.ROOT)) {
|
||||
case "none" -> { }
|
||||
case "cd" -> lastActivePane.send("cd " + shellQuote(worktreePaths.get(worktreePaths.size() - 1)) + "\r");
|
||||
case "create_panes" -> worktreePaths.forEach(compositor::createTiledPane);
|
||||
case "create_panes_floating" -> worktreePaths.forEach(compositor::createFloatingPaneInDirectory);
|
||||
|
||||
Reference in New Issue
Block a user