# Alias Expansion

> Warp will automatically expand your aliases as you type in the input editor.

- 网址：https://funcoding.ai/agents/warp/terminal/editor/alias-expansion/
- 来源：Warp 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.warp.dev/terminal/editor/alias-expansion/

---
## How to use it

**macOS**

When alias expansion is enabled, type an alias and then hit `Space` to expand the alias.

To insert a space without expanding an alias, the default keybinding is `Option+Space`.

**Windows**

When alias expansion is enabled, type an alias and then hit `Space` to expand the alias.

To insert a space without expanding an alias, the default keybinding is `Alt+Space`.

**Linux**

When alias expansion is enabled, type an alias and then hit `Space` to expand the alias.

To insert a space without expanding an alias, the default keybinding is `Alt+Space`.

<div class="callout callout-note">

Aliases will not be expanded when the command in the expanded form is the same as the alias itself. e.g. if you have an alias `ls='ls -G'`, `ls` will not be expanded in the input editor.

</div>

## How to access it

Alias expansion is disabled by default. There are two ways to toggle this on and off:

* From Settings: Navigate to **Settings** > **Features** > **Terminal Input** and toggle “Expand aliases as you type”.
* From the [Command Palette](https://funcoding.ai/agents/warp/terminal/command-palette/#how-to-access-it): Search for the “Enable/disable alias expansion” option and hit `Enter`.

## How it works
