Warp documentation
  • Getting Started
    • Quickstart Guide
    • What is Warp?
    • Supported shells
    • Migrate to Warp
    • Keyboard Shortcuts
    • Changelog
  • Agents
    • Warp AI
      • Agent Mode
  • Active AI
  • Generate
  • Voice
  • Terminal
    • Appearance
      • Themes
      • Custom Themes
      • Prompt
      • Input Position
      • Text, Fonts, & Cursor
      • Size, Opacity, & Blurring
      • Pane Dimming & Focus
      • Blocks Behavior
      • Tabs Behavior
      • App Icons
    • Blocks
      • Block Basics
      • Block Actions
      • Block Sharing
      • Block Find
      • Block Filtering
      • Background Blocks
      • Sticky Command Header
    • Modern Text Editing
      • Alias Expansion
      • Command Inspector
      • Syntax & Error Highlighting
      • Vim Keybindings
    • Command Entry
      • Command Corrections
      • Command Search
      • Command History
      • Synchronized Inputs
      • YAML Workflows
    • Command Completions
      • Completions
      • Autosuggestions
    • Command Palette
    • Session Management
      • Launch Configurations
      • Session Navigation
      • Session Restoration
    • Window Management
      • Global Hotkey
      • Tabs
      • Split Panes
    • Warpify
      • Subshells
      • SSH
    • More Features
      • Accessibility
      • Files, Links, & Scripts
      • Markdown Viewer
      • Working Directory
      • Smart-Select
      • Full-screen Apps
      • Notifications & Audible Bell
      • Settings Sync (Beta)
      • Quit Warning
      • URI Scheme
      • Linux
    • Comparisons
      • Performance
      • Terminal features
  • Integrations
  • Knowledge & Collaboration
    • Warp Drive
      • Notebooks
      • Workflows
      • Prompts
      • Environment Variables
      • Warp Drive on the Web
    • Model Context Protocol
    • Rules
    • Teams
    • Session Sharing
  • Privacy
    • Privacy
    • Secret Redaction
    • Network Log
  • Community
    • Refer a Friend & Earn Rewards
    • Warp Preview & Alpha Program
  • Support & Billing
    • Sending Feedback & Logs
    • Plans & Pricing
    • Updating Warp
    • Using Warp Offline
    • Logging out & Uninstalling
    • Known Issues
    • Troubleshooting Login Issues
    • Open Source Licenses
Powered by GitBook
On this page
  • What is it
  • How to access it
  • How it works

Was this helpful?

  1. Terminal
  2. Command Entry

Command Corrections

Command Corrections provides auto-correct suggestions on previously run commands to catch typos and forgotten flags, and fix general console errors.

PreviousCommand EntryNextCommand Search

Last updated 5 months ago

Was this helpful?

What is it

This feature was built on top of the open-source project . Here are some examples that the Warp team usually finds Command Corrections useful for:

  • Misspelled commands

    • gti checkout myBranchName -> git checkout myBranchName

    • cd ap/sorce/executtor -> cd app/source/executor

  • Missing flags

    • git push -> git push –set-upstream myBranchName

  • Add permissions

    • ./script -> chmod +x ./script && ./script

How to access it

  • Command Corrections is enabled by default. You can disable Command Corrections by going to Settings > Features > toggle “Suggest corrected commands”.

  • After an incorrect command is run, a panel with the corrected command suggestion appears above the Input Editor. CLICK or press the RIGHT arrow to insert the suggestion.

How it works

Command Correction Rules:

Command

brew

cargo

cat

cd

chmod

conda

cp

docker

generic (command agnostic, e.g. mis-spelling executable name)

git

go

grep

java

ls

mkdir

npm

pip

python

sed

sudo

yarn

nvdn/thefuck
Command Corrections Demo