Use aliases
Use aliases
Section titled “Use aliases”An alias is a saved starting point for a session: a name such as @api that fills in the directory, program and other settings, so you do not retype them.
Create an alias
Section titled “Create an alias”- Open Settings, stay on the General tab and find Aliases.
- Press New Alias.
- Fill in the fields you want. Only the name is required.
| Field | Purpose |
|---|---|
| Name | What you type after @. Letters, digits, hyphens and underscores |
| Description, Group | Help you find it in the list |
| Path | The directory the session starts in, for example ~/code/api |
| Profile | A session profile to apply first |
| Program | The agent program |
| Session type | Directory (the default), new worktree, existing worktree or one-off |
| Name prefix | Prepended to the session name |
| Auto yes | Accepts the agent’s prompts automatically. Leave it off unless the session is disposable |
| Tags, environment variables, CLI flags | Applied to every session started from the alias |
Start a session from an alias
Section titled “Start a session from an alias”Open the omnibar and type:
@api fix login timeoutThe text after the name becomes the session name (here fix-login-timeout, after any name prefix). Check the filled-in form and press Create Session.
The full form is @name[:branch] [label] [--flags]:
@api:fix-login retryalso fills in the branch. Use it with an alias whose session type is New Worktree.- Anything from
--onwards is passed to the agent program as extra command-line flags.
Type @ on its own to browse your aliases. The search matches name, description and group.
If a saved workflow has the same name as an alias, @name runs the workflow.