about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_dirs
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-02-20 12:51:51 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-02-20 12:51:51 +0000
commit6febc8fe67ab920819dd0b2bbdddb4f84d991dc5 (patch)
treea4afa3a7fcf16b3b06e36381cb3c281da8f6b5d4 /Completion/Zsh/Command/_dirs
parent0de96fc47898c0ed4c9c8e000fb63c897fe965ae (diff)
downloadzsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.tar.gz
zsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.tar.xz
zsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.zip
16619, 16676: add -c, -l and -p options to the dirs builtin
Diffstat (limited to 'Completion/Zsh/Command/_dirs')
-rw-r--r--Completion/Zsh/Command/_dirs8
1 files changed, 8 insertions, 0 deletions
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'