about summary refs log tree commit diff
path: root/Completion/Cvs/_cvs_setup_modentries
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-26 11:08:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-26 11:08:17 +0000
commita41988aba4fa0e5286278253780804e5e3259629 (patch)
tree889aa81daf12359e99be4f5062a86c44c28d0b48 /Completion/Cvs/_cvs_setup_modentries
parent54f3a6bd29ea9ebb164a2690ae4792f0ec9290e2 (diff)
downloadzsh-a41988aba4fa0e5286278253780804e5e3259629.tar.gz
zsh-a41988aba4fa0e5286278253780804e5e3259629.tar.xz
zsh-a41988aba4fa0e5286278253780804e5e3259629.zip
Initial revision
Diffstat (limited to 'Completion/Cvs/_cvs_setup_modentries')
-rw-r--r--Completion/Cvs/_cvs_setup_modentries9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Cvs/_cvs_setup_modentries b/Completion/Cvs/_cvs_setup_modentries
new file mode 100644
index 000000000..df1aabe57
--- /dev/null
+++ b/Completion/Cvs/_cvs_setup_modentries
@@ -0,0 +1,9 @@
+#autoload
+
+entries=()
+if [[ -f ${pref}CVS/Entries ]]; then
+  local rawentries
+  rawentries=(${(f)"$(<${pref}CVS/Entries)"})
+  _cvs_extract_modifiedfile_entries
+  _cvs_extract_directory_entries
+fi