You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs/terminal/snippets.md:99 (the "Startup snippets" tip) claims:
Set a snippet as the Pre-command on a host (connection form → Advanced) to run it every time you connect.
This capability does not exist in the app today. The host Pre-command (and Post-command) fields accept only an inline command string, which is written verbatim to the shell — there is no snippet picker and no snippet resolution. Verified in the client:
ConnectionForm.tsx:567-583 — plain single-line inputs, no snippet reference
client.rs:892 — writer.write_all(format!("{}\n", cmd)) on connect
session.rs:242/256 — same for post_command on disconnect
So a reader following this tip cannot set a snippet there. (Also note: Post-command runs on disconnect, not connect.)
Options
Correct the docs now — reword the tip so it reflects reality (a pre-command is an inline command line you type in; a one-liner from a snippet can be pasted, but snippets aren't selectable there).
Recommend doing (1) in the interim regardless, so the published docs don't describe a missing feature.
Suggested interim wording
Startup commands — set a Pre-command on a host (connection form → Advanced) to run a command line every time you connect. (Running a full saved snippet here is tracked in voltius#63.)
Problem
docs/terminal/snippets.md:99(the "Startup snippets" tip) claims:This capability does not exist in the app today. The host Pre-command (and Post-command) fields accept only an inline command string, which is written verbatim to the shell — there is no snippet picker and no snippet resolution. Verified in the client:
ConnectionForm.tsx:567-583— plain single-line inputs, no snippet referenceclient.rs:892—writer.write_all(format!("{}\n", cmd))on connectsession.rs:242/256— same for post_command on disconnectSo a reader following this tip cannot set a snippet there. (Also note: Post-command runs on disconnect, not connect.)
Options
Recommend doing (1) in the interim regardless, so the published docs don't describe a missing feature.
Suggested interim wording
Related: VoltiusApp/voltius#63