summaryrefslogtreecommitdiff
path: root/Completion/Cygwin/Command/_mkshortcut
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-07-31 15:26:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-07-31 15:26:13 +0000
commitb84399b9cbb93f199d695d7cb264c44178a8d5e0 (patch)
treeaf329c706dd4104718b02c78e2009f9488ad59e5 /Completion/Cygwin/Command/_mkshortcut
parent27665b32d6e1f60d6e786baa2478aa396f7e9b98 (diff)
downloadzsh-b84399b9cbb93f199d695d7cb264c44178a8d5e0.tar.gz
zsh-b84399b9cbb93f199d695d7cb264c44178a8d5e0.zip
tidy up of many completions (updates, fixes, improvements and plain aesthetics)
Diffstat (limited to 'Completion/Cygwin/Command/_mkshortcut')
-rw-r--r--Completion/Cygwin/Command/_mkshortcut33
1 files changed, 12 insertions, 21 deletions
diff --git a/Completion/Cygwin/Command/_mkshortcut b/Completion/Cygwin/Command/_mkshortcut
index 2a9d558aa..8718fa146 100644
--- a/Completion/Cygwin/Command/_mkshortcut
+++ b/Completion/Cygwin/Command/_mkshortcut
@@ -1,24 +1,15 @@
#compdef mkshortcut mkshortcut.exe
-#Generated by Felix Rosencrantz
-local context state line
-typeset -A opt_args
_arguments \
- '(--arguments -a)'{-a,--arguments=-}':Use arguments ARGS:->ARGS' \
- '(--icon -i)'{-i,--icon=-}':icon file for link to use:_files' \
- '(--iconoffset -j)'{-j,--iconoffset=-}':offset of icon in icon file (default is 0):->INT' \
- '(--name -n)'{-n,--name=-}':name for link (defaults to TARGET):_files' \
- "(--allusers -A)"{-A,--allusers}"[use 'All Users' instead of current user for -D,-P]" \
- "(--desktop -D)"{-D,--desktop}"[create link relative to 'Desktop' directory]" \
- "(--smprograms -P)"{-P,--smprograms}"[create link relative to Start Menu 'Programs' directory]" \
- '(--help -h)'{-h,--help}'[Show this help message]' \
- '--usage[Display brief usage message]' \
- '(--version -v)'{-v,--version}'[Display version information]' \
- '--license[Display licensing information]' \
- '1:Target:_files' && return 0
-
-case $state in
- "ARGS");;
- "INT");;
-esac
-
+ '(--arguments -a)'{-a,--arguments=-}'[use specified arguments]:arguments' \
+ '(--icon -i)'{-i,--icon=-}'[specify icon file for link to use]:icon file:_files' \
+ '(--iconoffset -j)'{-j,--iconoffset=-}'[specify offset of icon in icon file]:offset' \
+ '(--name -n)'{-n,--name=-}'[specify name for link]:file:_files' \
+ '(--allusers -A)'{-A,--allusers}"[use 'All Users' instead of current user for -D,-P]" \
+ '(--desktop -D)'{-D,--desktop}"[create link relative to 'Desktop' directory]" \
+ '(--smprograms -P)'{-P,--smprograms}"[create link relative to Start Menu 'Programs' directory]" \
+ '(- 1)'{-h,--help}'[show help information]' \
+ '(- 1)--usage[display brief usage message]' \
+ '(- 1)'{-v,--version}'[show version information]' \
+ '(- 1)--license[display licensing information]' \
+ '1:target:_files'