1
0
Fork 0
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:
Peter Stephenson 2017-01-17 18:03:26 +00:00
parent c2f1951ba3
commit 60a4f6cb67
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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