diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Builtins/_pids | 2 | ||||
-rw-r--r-- | Doc/Zsh/compsys.yo | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 2675bd4c6..554b8469c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-26 Sven Wischnowsky <wischnow@zsh.org> + + * 13763: Completion/Builtins/_pids, Doc/Zsh/compsys.yo: _pids + * shouldn't start menu completion if the current word starts + * with a hyphen; typo fix in compsys.yo + 2001-03-25 Bart Schaefer <schaefer@zsh.org> * 13757: StartupFiles/zlogin, StartupFiles/zshenv, diff --git a/Completion/Builtins/_pids b/Completion/Builtins/_pids index 392689848..ad15031b6 100644 --- a/Completion/Builtins/_pids +++ b/Completion/Builtins/_pids @@ -11,7 +11,7 @@ if [[ "$1" = -m ]]; then all=() match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*[/[:blank:]]${2}*" shift 2 -elif [[ "$PREFIX$SUFFIX" = (%*|[0-9]#) ]]; then +elif [[ "$PREFIX$SUFFIX" = ([%-]*|[0-9]#) ]]; then all=() match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*" else diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 81700762a..de1c42422 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2300,7 +2300,7 @@ to accept may be given with the tt(-a) option. Its argument should be the same as the value of the tt(max-errors) style, all in one string. Note that this completer (and the tt(_correct) completer mentioned -below) can be quite expansive to call, especially when a large number +below) can be quite expensive to call, especially when a large number of errors is allowed. One way to avoid this is to set up the tt(completer) style using the tt(-e) option to zstyle so that some completers are only used when completion is attempted a second time on |