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