fix(profiles): update terminal command for copying based on profile name

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
vincez-hms-coder 2026-04-27 16:37:15 -04:00
parent 1745cfc6d7
commit 3e200b64fb

View file

@ -127,7 +127,7 @@ export default function ProfilesPage() {
};
const handleCopyTerminalCommand = async (name: string) => {
const cmd = `hermes -p ${name}`;
const cmd = name === "default" ? "hermes setup" : `${name} setup`;
try {
await navigator.clipboard.writeText(cmd);
showToast(`${t.profiles.commandCopied}: ${cmd}`, "success");