diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-12 15:28:25 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-12 15:28:25 +0000 |
commit | 4026d75e5c00a5f03d1402743c70776ab8b8b5a5 (patch) | |
tree | 2e794364c51793f6954145b1ac4945b3e7f7054d | |
parent | 02e8fc1a27341bf119855c7e851e9ba3c707eed6 (diff) | |
download | zsh-4026d75e5c00a5f03d1402743c70776ab8b8b5a5.tar.gz zsh-4026d75e5c00a5f03d1402743c70776ab8b8b5a5.tar.xz zsh-4026d75e5c00a5f03d1402743c70776ab8b8b5a5.zip |
Initial revision
-rw-r--r-- | Completion/Core/_sort_tags | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Completion/Core/_sort_tags b/Completion/Core/_sort_tags new file mode 100644 index 000000000..f1740511d --- /dev/null +++ b/Completion/Core/_sort_tags @@ -0,0 +1,28 @@ +#autoload + +comptry arguments values +comptry options + +case "$contexts" in +# Some silly examples commented out: +# +# *p[bgpn]m*) # change the order for file-completion +# comptry globbed-files directories +# comptry all-files +# ;; +# *:dvips,-o*) # automatic context set by _arguments +# comptry all-files +# return +# ;; +# *:kill,*) +# comptry processes +# return # this return ensures that we use only processes +# ;; +*) + comptry globbed-files + comptry directories + comptry all-files + ;; +esac + +comptry "$@" |