This commit is contained in:
Matt Lewin 2018-04-17 20:58:00 +00:00 committed by GitHub
commit 85c92863ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

14
plugins/dash/README.md Normal file
View File

@ -0,0 +1,14 @@
## dash
**Maintainer:** [@MattLewin](https://github.com/MattLewin)
This plugin supplies an easy way to query Dash from the command-line
### Usage
$ dash *\<query\>* (Ex.: `dash bash` )
$ dash *\<keyword\>:\<query\>* (Ex.: `dash ios:UITableView` )
Note that *<keyword>* is the keyword associated with the docset, as shown on the Docsets preference pane of Dash preferences.

View File

@ -0,0 +1,5 @@
# Send everything on the command line to Dash, without having to
# type the whole 'open "dash://" business
function dash() {
open "dash://$1"
}