mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
36243: fix a few problems of "_pids -m pattern"
This commit is contained in:
parent
a69994ede1
commit
a85ba2e719
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-08-20 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 36243: Completion/Unix/Type/_pids: fix a few problems of
|
||||
"_pids -m pattern"
|
||||
|
||||
2015-08-19 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 36247: Completion/Unix/Command/_git: __git_objects: Complete
|
||||
|
|
|
@ -9,7 +9,7 @@ _tags processes || return 1
|
|||
|
||||
if [[ "$1" = -m ]]; then
|
||||
all=()
|
||||
match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*[/[:blank:]]${2}*"
|
||||
match="(*[[:blank:]]|)${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*(/|[[:blank:]]-(#c,1))${2}([[:blank:]]*|)"
|
||||
shift 2
|
||||
elif [[ "$PREFIX$SUFFIX" = ([%-]*|[0-9]#) ]]; then
|
||||
all=()
|
||||
|
|
Loading…
Reference in a new issue