diff --git a/web/src/pages/ProfilesPage.tsx b/web/src/pages/ProfilesPage.tsx index 769c74d217..ff7e22a583 100644 --- a/web/src/pages/ProfilesPage.tsx +++ b/web/src/pages/ProfilesPage.tsx @@ -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");