diff options
author | Camil Staps | 2016-02-09 13:33:49 +0100 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:06 +0100 |
commit | ae4fdb755a6e07e9f86ae34551987a446092f0db (patch) | |
tree | 2b754ae5b224c3d9fe7d073228d220555fcebac1 /functions/_git-rm | |
parent | type pass (diff) |
zsh
Diffstat (limited to 'functions/_git-rm')
-rw-r--r-- | functions/_git-rm | 7 |
1 files changed, 7 insertions, 0 deletions
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 |