zsh-autopair
« Back to VersTracker
Description:
Auto-close and delete matching delimiters in zsh
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: zsh shell productivity autocomplete plugin
Install: brew install zsh-autopair
About:
Zsh-autopair is a lightweight zsh plugin that automatically closes matching delimiters like parentheses, brackets, and quotes as you type. It intelligently handles pairing, prevents duplicate closers, and allows for easy deletion of matched pairs. This tool enhances typing flow and reduces syntax errors in shell configuration and scripting.
Key Features:
  • Automatic closing of matching delimiters ((), [], {}, "", '')
  • Intelligent handling to avoid duplicate closing characters
  • Seamless deletion of matched pairs with a single backspace
  • Lightweight with no external dependencies
Use Cases:
  • Improving efficiency when writing zsh configuration files (.zshrc)
  • Editing shell scripts with complex nested structures
  • Reducing syntax errors during rapid code entry
Alternatives:
  • zsh-autosuggestions – Focuses on command history suggestions rather than delimiter pairing.
  • auto-pairs – Similar functionality but often implemented in heavier editors like Vim/Neovim.
Version History
Detected Version Rev Change Commit
Dec 23, 2024 4:04am 0 VERSION_BUMP 486f15d3