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:
parent
63c52e8e01
commit
e4d8a697bc
2 changed files with 4 additions and 0 deletions
|
@ -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:/// .
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue