commit
						b736f2679c
					
				
							
								
								
									
										21
									
								
								src/_afew
								
								
								
								
							
							
						
						
									
										21
									
								
								src/_afew
								
								
								
								
							|  | @ -1,6 +1,6 @@ | ||||||
| #compdef afew | #compdef afew | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users | # Copyright (c) 2016 Github zsh-users - https://github.com/zsh-users | ||||||
| # All rights reserved. | # All rights reserved. | ||||||
| # | # | ||||||
| # Redistribution and use in source and binary forms, with or without | # Redistribution and use in source and binary forms, with or without | ||||||
|  | @ -28,7 +28,8 @@ | ||||||
| # Description | # Description | ||||||
| # ----------- | # ----------- | ||||||
| # | # | ||||||
| #  Completion script for afew an initial tagging script for notmuch mail. (https://github.com/teythoon/afew) | #  Completion script for afew(version 3.0.1) an initial tagging script for notmuch mail. | ||||||
|  | #  (https://github.com/teythoon/afew) | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Authors | # Authors | ||||||
|  | @ -39,14 +40,11 @@ | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| 
 | 
 | ||||||
| _arguments \ | _arguments \ | ||||||
|   '(- 1 *)-h[display usage information]' \ |   '(- 1 *)'{-h,--help}'[display usage information]' \ | ||||||
|   "(-c --classify -l --learn= -t --tag -u --update -U --update-reference -m --move-mails)"{-w,--watch}"[continuously monitor the mailbox for new messages matching the given query]" \ |   '(- 1 *)'{-V,--version}"[show program's version number and exit]" \ | ||||||
|   "(-c --classify -l --learn= -u --update -U --update-reference -m --move-mails -w --watch)"{-t,--tag}"[run the tag filters]" \ |   "(-t --tag -m --move-mails)"{-w,--watch}"[continuously monitor the mailbox for new messages matching the given query]" \ | ||||||
|   "(-c --classify -t --tag -u --update -U --update-reference -m --move-mails -w --watch)"{-l,--learn=}"[train category with the messages matching query]" \ |   "(-m --move-mails -w --watch)"{-t,--tag}"[run the tag filters]" \ | ||||||
|   "(-c --classify -l --learn= -t --tag -U --update-reference -m --move-mails -w --watch)"{-u,--update}"[update the categories (requires no query)]" \ |   "(-w --watch -m --move-mails)"{-m,--move-mails}"[move mail files between maildir folders]" \ | ||||||
|   "(-c --classify -l --learn= -t --tag -u --update -m --move-mails -w --watch)"{-U,--update-reference}"[update the reference category (takes quite some time) (requires no query)]" \ |  | ||||||
|   "(-l --learn= -t --tag -u --update -U --update-reference -m --move-mails -w --watch)"{-c,--classify}"[classify each message matching the iven query]" \ |  | ||||||
|   "(-c --classify -l --learn= -t --tag -u --update -U --update-reference -w --watch)"{-m,--move-mails}"[move mail files between maildir folders]" \ |  | ||||||
|   "(-n --all)"{-a,--all}"[operate on all email]" \ |   "(-n --all)"{-a,--all}"[operate on all email]" \ | ||||||
|   "(-a --new)"{-n,--new}"[operate on all new email]" \ |   "(-a --new)"{-n,--new}"[operate on all new email]" \ | ||||||
|   {-C,--notmuch-config=}"[specify path to notmuch configuration file]:files:_files" \ |   {-C,--notmuch-config=}"[specify path to notmuch configuration file]:files:_files" \ | ||||||
|  | @ -54,7 +52,8 @@ _arguments \ | ||||||
|   {-d,--dry-run}"[don't change the DB]" \ |   {-d,--dry-run}"[don't change the DB]" \ | ||||||
|   {-R,--reference-set-size=}"[specify size of the reference set]:size [1000]" \ |   {-R,--reference-set-size=}"[specify size of the reference set]:size [1000]" \ | ||||||
|   {-T,--reference-set-timeframe-days=}"[don't use emails older than specified age]:age (days) [30]" \ |   {-T,--reference-set-timeframe-days=}"[don't use emails older than specified age]:age (days) [30]" \ | ||||||
|   {--verbose,-v}"[be more verbose]" \ |   {-N,--notmuch-args=}"[arguments for nutmuch new(in move mode)]:notmuch arg" \ | ||||||
|  |   {-v,--verbose}"[be more verbose]" \ | ||||||
|   '*: :_guard "^-*" query' |   '*: :_guard "^-*" query' | ||||||
| 
 | 
 | ||||||
| # Local Variables: | # Local Variables: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue