From 6febc8fe67ab920819dd0b2bbdddb4f84d991dc5 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 20 Feb 2002 12:51:51 +0000 Subject: 16619, 16676: add -c, -l and -p options to the dirs builtin --- Completion/Zsh/Command/_dirs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Completion/Zsh/Command/_dirs (limited to 'Completion/Zsh/Command/_dirs') diff --git a/Completion/Zsh/Command/_dirs b/Completion/Zsh/Command/_dirs new file mode 100644 index 000000000..11d9a2b40 --- /dev/null +++ b/Completion/Zsh/Command/_dirs @@ -0,0 +1,8 @@ +#compdef dirs + +_arguments -s \ + '(-)-c[clear the directory stack]' \ + '(* -c)-l[display directory names in full]' \ + '(* -c)-v[display numbered list of directory stack]' \ + '(* -c)-p[display directory entries on per line]' \ + '(-)*:directory:_directories' -- cgit v1.2.3