From 350a07b0a8525645671a029621cc873b2a8d1957 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 9 Feb 2016 14:16:10 +0100 Subject: Fixed oh-my-zsh --- zsh/functions/_git-rm | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 zsh/functions/_git-rm (limited to 'zsh/functions/_git-rm') 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 -- cgit v1.2.3