-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,34 @@ | |
|
||
A simple script for querying contacts from the command line. | ||
|
||
## [mutt](http://www.mutt.org/) integration | ||
Usage: | ||
|
||
```sh | ||
$ contacts query | ||
NAME EMAIL | ||
[email protected] First Last | ||
``` | ||
|
||
## Installation | ||
|
||
```sh | ||
brew install keith/formulae/contacts-cli | ||
``` | ||
|
||
### [mutt](http://www.mutt.org/) integration | ||
|
||
Somewhere in your `muttrc`: | ||
|
||
``` | ||
set query_command="contacts '%s'" | ||
bind editor <Tab> complete-query | ||
``` | ||
|
||
##### Notes | ||
|
||
- This is a simplified replacement for the unmaintained | ||
[contacts](http://www.gnufoo.org/contacts/contacts.html) | ||
- This is distributed as a compiled executable rather than a swift | ||
script to help with swift compatibility during new releases. | ||
- If you have trouble running the script inside tmux see [this | ||
issue](https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/43) |