Warp documentation
  • 🚀Getting Started
    • Quickstart Guide
    • What is Warp?
    • Migrate to Warp
    • Using Warp with [zsh|bash|fish|pwsh]
    • Privacy
    • Refer a Friend & Earn Rewards
    • Warp Preview & Alpha Program
    • Changelog
  • 🎨Appearance
    • Themes
    • Custom Themes
    • Prompt
    • Input Position
    • Text, Fonts, & Cursor
    • Size, Opacity, & Blurring
    • Pane Dimming & Focus
    • Blocks Behavior
    • Tabs Behavior
    • App Icons
  • đź“•Features
    • Warp AI
      • Active AI
      • Agent Mode
      • Generate
      • Model Context Protocol
      • Voice
      • Rules
    • Command Palette
    • Warp Drive
      • Notebooks
      • Workflows
      • Prompts
      • Environment Variables
      • Warp Drive on the Web
    • Teams
    • Session Sharing
    • Blocks
      • Block Basics
      • Block Actions
      • Block Sharing
      • 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
    • Session Management
      • Launch Configurations
      • Session Navigation
      • Session Restoration
    • Window Management
      • Global Hotkey
      • Tabs
      • Split Panes
    • Warpify
      • Subshells
      • SSH
    • Accessibility
    • Find
    • Files, Links, & Scripts
    • Markdown Viewer
    • Working Directory
    • Smart-Select
    • Full-screen Apps
    • Keyboard Shortcuts
    • Notifications & Audible Bell
    • Settings Sync (Beta)
    • Quit Warning
    • Integrations
    • URI Scheme
    • Network Log
    • Secret Redaction
    • Linux
  • 📊How Does Warp Compare?
    • Performance
    • Terminal features
  • âť“Help
    • Sending Feedback & Logs
    • Plans, Subscriptions & 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. Features
  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 6 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