1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

17508: complete local files after file://localhost/ .

This commit is contained in:
Clint Adams 2002-08-06 21:09:37 +00:00
parent 63c52e8e01
commit e4d8a697bc
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2002-08-06 Clint Adams <clint@zsh.org>
* 17508: Completion/Unix/Type/_urls: complete local files after
file://localhost/ .
* 17507: Completion/Unix/Type/_urls: complete local files after
file:/// .

View file

@ -82,6 +82,7 @@ case "$scheme" in
fi
;;
file)
[[ -prefix //localhost/ ]] && compset -P //localhost
[[ -prefix /// ]] && compset -P //
if ! compset -P //; then
_tags -C file files