mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
zsh-workers/9502
This commit is contained in:
parent
4bd2389dbf
commit
84337f60f4
5 changed files with 8 additions and 8 deletions
|
@ -11,7 +11,7 @@
|
|||
# Assume an user sets the style `hosts-ports-users' as for the my-accounts
|
||||
# tag:
|
||||
#
|
||||
# zstyle '*:telnet*:my-accounts' hosts-ports-users \
|
||||
# zstyle ':completion:*:telnet*:my-accounts' hosts-ports-users \
|
||||
# host0:: host1::user1 host2::user2
|
||||
# mail-server:{smtp,pop3}:
|
||||
# news-server:nntp:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#autoload
|
||||
|
||||
# This is intended to be used as a completer function after the normal
|
||||
# completer as in: `zstyle "*" completer _complete _match'.
|
||||
# completer as in: `zstyle ":completion:*" completer _complete _match'.
|
||||
# It temporarily switches on pattern matching, allowing you to try
|
||||
# completion on patterns without having to setopt glob_complete.
|
||||
#
|
||||
|
|
|
@ -6,7 +6,7 @@ local curcontext="${curcontext}:menu"
|
|||
# implemented with the new completion system.
|
||||
# Use this one before the normal _complete completer, as in:
|
||||
#
|
||||
# zstyle "*" completer _menu _complete
|
||||
# zstyle ":completion:*" completer _menu _complete
|
||||
|
||||
if [[ -n "$compstate[old_list]" ]]; then
|
||||
|
||||
|
|
|
@ -358,7 +358,7 @@ Have fun
|
|||
tmp="'*:options' prefix-needed yes"
|
||||
[[ "$val" = hide* ]] &&
|
||||
tmp="$tmp
|
||||
zstyle '*:options' prefix-hidden yes"
|
||||
zstyle ':completion*:options' prefix-hidden yes"
|
||||
;;
|
||||
group_matches)
|
||||
tmp="'*' group-name ''"
|
||||
|
@ -403,7 +403,7 @@ zstyle '*:options' prefix-hidden yes"
|
|||
tmp="'*' last-prompt 'yes'"
|
||||
;;
|
||||
esac
|
||||
[[ -n "$tmp" ]] && style="${style}${cmt}zstyle ${tmp}
|
||||
[[ -n "$tmp" ]] && style="${style}${cmt}zstyle :completion${tmp}
|
||||
"
|
||||
done
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# Configuration styles used:
|
||||
#
|
||||
# urls:path
|
||||
# path
|
||||
# The path to a directory containing a URL database, such as:
|
||||
#
|
||||
# % cd ~/.zsh/urls
|
||||
|
@ -29,14 +29,14 @@
|
|||
# % cat bookmark/zsh/meta
|
||||
# http://www.zsh.org/
|
||||
#
|
||||
# urls:local
|
||||
# local
|
||||
# Specify a local web server as an array with three elements:
|
||||
# <hostname> <doc root> <user area>
|
||||
# where hostname is the name of the web server, doc root is the path to
|
||||
# the default web pages for the server and user area is the directory
|
||||
# name used by a user placing web pages within their home area.
|
||||
# E.g.:
|
||||
# zstyle '*:urls:local' www /usr/local/apache/htdocs public_html
|
||||
# zstyle ':completion:*:urls' local www /usr/local/apache/htdocs public_html
|
||||
|
||||
local ipre scheme host user uhosts ret=1 expl
|
||||
local urls_path localhttp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue