mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 08:51:18 +02:00
18462: complete files in addition to commands
This commit is contained in:
parent
9e302211ab
commit
29a3496ebb
@ -1,5 +1,8 @@
|
||||
2003-04-23 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 18462: Completion/Unix/Command/_sh: complete files in addition
|
||||
to commands
|
||||
|
||||
* 18461: Completion/Unix/Type/_perl_builtin_funcs: handle cases
|
||||
where the perlfunc man page is compressed
|
||||
|
||||
@ -14,7 +17,7 @@
|
||||
|
||||
* 18458: Completion/Unix/Command/_renice: new completion for renice
|
||||
|
||||
* 18458: Completion/Base/Utility/_describe: handle the prefix-needed style
|
||||
* 18458: Completion/Base/Utility/_describe: handle prefix-needed style
|
||||
|
||||
2003-04-19 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
||||
|
||||
|
@ -16,7 +16,9 @@ else
|
||||
local n=${words[(b:2:i)[^-]*]}
|
||||
if (( n <= CURRENT )); then
|
||||
compset -n $n
|
||||
_normal && return 0
|
||||
_alternative \
|
||||
'files:file:_files' \
|
||||
'commands:command:_normal' && return 0
|
||||
fi
|
||||
_default
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user