-
David O'Trakoun committed with GitHub 8 years ago
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
-
skipped 19 lines 20 20 21 21 ## Installation 22 22 23 + ### Without using a framework 23 24 24 25 ```sh 25 26 npm install --global git-open 26 27 ``` 28 + 29 + ### Using a ZSH Framework 30 + 31 + #### [Antigen](https://github.com/zsh-users/antigen) 32 + 33 + Add `antigen bundle paulirish/git-open` to your `.zshrc` with your other bundle commands. 34 + 35 + Antigen will handle cloning the plugin for you automatically the next time you start zsh, and periodically checking for updates to the git repository. You can also add the plugin to a running zsh with `antigen bundle paulirish/git-open` for testing before adding it to your `.zshrc`. 36 + 37 + ### [Oh-My-Zsh](http://ohmyz.sh/) 38 + 39 + 1. `cd ~/.oh-my-zsh/custom/plugins` 40 + 2. `git clone [email protected]:paulirish/git-open.git gitopen` 41 + 3. Add git-open to your plugin list - edit `~/.zshrc` and change `plugins=(...)` to `plugins=(... gitopen)` 42 + 43 + ### [Zgen](https://github.com/tarjoilija/zgen) 44 + 45 + Add `zgen load paulirish/git-open` to your .zshrc file in the same function you're doing your other `zgen load` calls in. ZGen will take care of cloning the repository the next time you run `zgen save`, and will also periodically check for updates to the git repository. 27 46 28 47 29 48 #### Supported: skipped 27 lines