跳到正文
FunCoding

搜索

搜索文档、文章、Skill 和 MCP

Alias Expansion

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

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.

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.

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: Search for the “Enable/disable alias expansion” option and hit Enter.

How it works