mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-01 04:46:08 +02:00
unposted: "autooad ~..." also completes file
This commit is contained in:
parent
c2f1951ba3
commit
60a4f6cb67
|
@ -1,3 +1,8 @@
|
|||
2017-01-17 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* unposted: Completion/Zsh/Command/_typeset: autoload ~... also
|
||||
completes file.
|
||||
|
||||
2017-01-16 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 40372: Completion/compinit: turn off POSIX_IDENTIFIERS option
|
||||
|
|
|
@ -93,7 +93,7 @@ if [[ "$state" = vars_eq ]]; then
|
|||
elif (( $+opt_args[-w] )); then
|
||||
_wanted files expl 'zwc file' _files -g '*.zwc(-.)'
|
||||
elif [[ $service = autoload || -n $opt_args[(i)-[uU]] ]]; then
|
||||
if [[ $PREFIX[1] = / ]]; then
|
||||
if [[ $PREFIX[1] = [/~] ]]; then
|
||||
# Autoload by absolute path
|
||||
_files
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue