kingToolbox / kingToolbox/WindTerm

[Feature Request] Automatically run User-defined Script when Session opens

Open
#876 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Hello!
When I open an existing session to a remote server, I hope it can automatically run pre-defined scripts, such as:
1. open certain file, e.g., `cat ~/.bash_profile`
2. open some dynamic command, e.g., `watch -n 1 "ps -ef | grep -v grep | grep mysqld"` or `watch -n 1 "ip a s"`

Thus, when I restart windTerm, the whole groups I created and each session in each can be the same before windTerm restart.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the existing-session restore flow and remote command execution path; done means grouped sessions reopen with each session's configured commands run automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.