#Command Completions

4 messages · Page 1 of 1 (latest)

real badgeBOT
#

Hi @echo anchor. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

You're not alone—many users have questions about how Warp handles command completions and alias expansions, especially when switching between shells like bash/zsh and PowerShell.

From the knowledge sources, Warp does have a feature called "Alias Expansion" that can automatically expand aliases as you type in the input editor. For example, if you set up an alias in bash or zsh, Warp can expand it as you type (when you press the spacebar). This feature is opt-in and can be enabled in Settings > Features > Editor > "Expand aliases as you type" help with workflows (Discord).

However, the knowledge sources do not mention a built-in feature that automatically translates Unix commands (like rm) to their PowerShell equivalents (like Remove-Item) on the fly. The alias expansion works for aliases you define in your shell (e.g., alias rm='trash'), but not for cross-shell command translation. For PowerShell, there is no explicit mention of Warp supporting this kind of automatic command mapping or translation.

If you previously experienced this behavior, it may have been due to a custom alias or function you set up in your shell configuration, rather than a native Warp feature. If you want similar functionality, you could try defining aliases or functions in your PowerShell profile, but Warp itself does not currently offer a toggle to automatically convert commands like rm to Remove-Item.

If you want to enable alias expansion for bash/zsh, you can do so in the settings as described above. For PowerShell, you would need to rely on PowerShell's own aliasing features.

#

If you have more details about your previous setup, I can help you try to replicate it, but based on the current knowledge sources, Warp does not natively provide automatic cross-shell command translation as a feature.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@sage merlin Kapa.ai is still learning and improving, please let me know how I did by reacting below.