diff options
Diffstat (limited to 'zsh/functions/_git-rm')
-rw-r--r-- | zsh/functions/_git-rm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/functions/_git-rm b/zsh/functions/_git-rm new file mode 100644 index 0000000..a10baf9 --- /dev/null +++ b/zsh/functions/_git-rm @@ -0,0 +1,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 |