Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justinribeiro/lighthouse-autocompletion
Command line auto-completion for Lighthouse (https://github.com/GoogleChrome/lighthouse)
https://github.com/justinribeiro/lighthouse-autocompletion
Last synced: 7 days ago
JSON representation
Command line auto-completion for Lighthouse (https://github.com/GoogleChrome/lighthouse)
- Host: GitHub
- URL: https://github.com/justinribeiro/lighthouse-autocompletion
- Owner: justinribeiro
- License: apache-2.0
- Created: 2017-05-23T17:04:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T17:41:07.000Z (over 7 years ago)
- Last Synced: 2024-10-23T23:57:36.760Z (28 days ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lighthouse-autocompletion
Command line auto-completion for Lighthouse (https://github.com/GoogleChrome/lighthouse)![image](https://cloud.githubusercontent.com/assets/643503/26367683/3bd7bd8a-3fa4-11e7-8ff1-d9d3e202332e.png)
## Usage (OH MY ZSH)
If you're like me and using [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh), you can simply grab the zsh file and put into the `~/.oh-my-zsh/custom/plugins/` directory and enable in your `.zshrc` file.
```
# get the plugin
➜ wget https://raw.githubusercontent.com/justinribeiro/lighthouse-autocompletion/master/lighthouse.plugin.zsh -O ~/.oh-my-zsh/custom/plugins/lighthouse.plugin.zsh# edit your .zshrc and add lighthouse to plugin list
➜ vim .zshrcplugins=(... lighthouse)
# reload completions
➜ autoload -U compinit && compinit
```## Usage (ZSH)
```
# get the plugin
➜ git clone [email protected]:justinribeiro/lighthouse-autocompletion.git# edit your .zshrc and add source call
➜ vim .zshrcsource /path-to-lighthouse-autocomplete/lighthouse.plugin.zsh
➜ autoload -U compinit && compinit
```## TODO
1. Add BASH autocompletion script.
2. Use _arguments in ZSH to allow subcommand completion for `--chrome-flags`