From ae4fdb755a6e07e9f86ae34551987a446092f0db Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 9 Feb 2016 13:33:49 +0100 Subject: zsh --- functions/_git-rm | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 functions/_git-rm (limited to 'functions/_git-rm') diff --git a/functions/_git-rm b/functions/_git-rm new file mode 100644 index 0000000..a10baf9 --- /dev/null +++ b/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 -- cgit v1.2.3