_git-rm 296 B

12345678
  1. #compdef git-rm
  2. _arguments -S -A '-*' \
  3. '-f[override the up-to-date check]' \
  4. "-n[don't actually remove the files, just show if they exist in the index]" \
  5. '-r[allow recursive removal when a leading directory-name is given]' \
  6. '--cached[only remove files from the index]' && ret=0
  7. _files