mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
README: Add Bash section for Oh-My-Bash (#214)
This commit is contained in:
parent
a223125abc
commit
477b196a1d
16
README.md
16
README.md
|
|
@ -89,13 +89,6 @@ 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`
|
also add the plugin to a running zsh with `antigen bundle paulirish/git-open`
|
||||||
for testing before adding it to your `.zshrc`.
|
for testing before adding it to your `.zshrc`.
|
||||||
|
|
||||||
#### [Oh-My-Bash](https://github.com/ohmybash/oh-my-bash)
|
|
||||||
|
|
||||||
1. `git clone https://github.com/paulirish/git-open.git $OSH_CUSTOM/plugins/git-open`
|
|
||||||
2. Add `git-open` to your plugin list - edit `~/.bashrc` and change
|
|
||||||
`plugins=(...)` to `plugins=(... git-open)`
|
|
||||||
3. `source ~/.bashrc`
|
|
||||||
|
|
||||||
#### [Oh-My-Zsh](http://ohmyz.sh/)
|
#### [Oh-My-Zsh](http://ohmyz.sh/)
|
||||||
|
|
||||||
1. `git clone https://github.com/paulirish/git-open.git $ZSH_CUSTOM/plugins/git-open`
|
1. `git clone https://github.com/paulirish/git-open.git $ZSH_CUSTOM/plugins/git-open`
|
||||||
|
|
@ -114,6 +107,15 @@ check for updates to the git repository.
|
||||||
|
|
||||||
`zplug "paulirish/git-open", as:plugin`
|
`zplug "paulirish/git-open", as:plugin`
|
||||||
|
|
||||||
|
### Bash
|
||||||
|
|
||||||
|
#### [Oh-My-Bash](https://github.com/ohmybash/oh-my-bash)
|
||||||
|
|
||||||
|
1. `git clone https://github.com/paulirish/git-open.git $OSH_CUSTOM/plugins/git-open`
|
||||||
|
2. Add `git-open` to your plugin list - edit `~/.bashrc` and change
|
||||||
|
`plugins=(...)` to `plugins=(... git-open)`
|
||||||
|
3. `source ~/.bashrc`
|
||||||
|
|
||||||
## Supported remote repositories
|
## Supported remote repositories
|
||||||
|
|
||||||
git-open can automatically guess the corresponding repository page for remotes
|
git-open can automatically guess the corresponding repository page for remotes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue