From 809f2996b29c40ea5a3d6bd89f0489f9864aa126 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 11:59:06 +0000 Subject: moved from Completion/User/_pack --- Completion/Unix/Command/_pack | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Completion/Unix/Command/_pack (limited to 'Completion/Unix/Command/_pack') diff --git a/Completion/Unix/Command/_pack b/Completion/Unix/Command/_pack new file mode 100644 index 000000000..b0172dca8 --- /dev/null +++ b/Completion/Unix/Command/_pack @@ -0,0 +1,16 @@ +#compdef pack unpack pcat=unpack + +local expl state line + +case $service in + pack) + _arguments -C \ + '-f[force packing even for files which will not benefit]' \ + '-[show statistics for files]' \ + '*:file to compress:_files -g \*\~\*.z' + ;; + unpack) + _description files expl 'compressed file' + _files "$expl[@]" -g '*.z' + ;; +esac -- cgit 1.4.1