diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-15 12:01:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-15 12:01:46 +0000 |
commit | 35b2633ad941966f5fca07b625a594a5b68c0fdb (patch) | |
tree | b54740d014e594ba5d81931cdcdb3387bcf9dfca /Completion/User/_gprof | |
parent | bb98460a01ce1f6c1e71f7e401f782c81b71486b (diff) | |
download | zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.gz zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.xz zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.zip |
manual/8639
Diffstat (limited to 'Completion/User/_gprof')
-rw-r--r-- | Completion/User/_gprof | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_gprof b/Completion/User/_gprof index cbc362331..a69a078ba 100644 --- a/Completion/User/_gprof +++ b/Completion/User/_gprof @@ -1,9 +1,9 @@ #compdef gprof -local context state line ret=1 +local curcontext="$curcontext" state line ret=1 typeset -A opt_args -_arguments -s -{a,b,c,D,h,i,l,L,s,T,v,w,x,y,z} \ +_arguments -C -s -{a,b,c,D,h,i,l,L,s,T,v,w,x,y,z} \ -{A,C,e,E,f,F,J,n,N,O,p,P,q,Q,Z}:'function name:->funcs' \ '-I:directory:_dir_list' \ '-d-:debug level:' '-k:function names:->pair' \ @@ -17,7 +17,7 @@ _arguments -s -{a,b,c,D,h,i,l,L,s,T,v,w,x,y,z} \ if [[ -n "$state" ]]; then local cmd pair expl - _tags "${context}" functions || return 1 + _tags functions || return 1 [[ "$state" = pair ]] && pair=yes |