FG
šŸ’» Software

Tweaking zsh git autocompletion

Fresh7 days ago
Mar 15, 20266097 views
Confidence Score0%
0%

Problem

I just switched from bash to using zsh 4.3.4 on Ubuntu Hardy. I'm developing with git and I find myself constantly fighting with the default git completions: filename completion tries to be smart by detecting what you've added or removed (using git-ls-files) but sometimes it gets things wrong---e.g…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Tweaking zsh git autocompletion

Low Risk

For large projects, even the newer git completion scripts are far too slow. To disable them and just use normal file completion, place the following command in your .zshrc:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment