Skip to content

Commit 2a66fcd

Browse files
authored
Add oh-my-bash support (#213)
1 parent ce88182 commit 2a66fcd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ start zsh, and periodically checking for updates to the git repository. You can
8989
also add the plugin to a running zsh with `antigen bundle paulirish/git-open`
9090
for testing before adding it to your `.zshrc`.
9191
92+
#### [Oh-My-Bash](https://github.com/ohmybash/oh-my-bash)
93+
94+
1. `git clone https://github.com/paulirish/git-open.git $OSH_CUSTOM/plugins/git-open`
95+
2. Add `git-open` to your plugin list - edit `~/.bashrc` and change
96+
`plugins=(...)` to `plugins=(... git-open)`
97+
3. `source ~/.bashrc`
98+
9299
#### [Oh-My-Zsh](http://ohmyz.sh/)
93100
94101
1. `git clone https://github.com/paulirish/git-open.git $ZSH_CUSTOM/plugins/git-open`

git-open.plugin.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This plugin is MIT licensed to match the git-open license.
2+
#
3+
# Make git-open easy to install and keep up to date if you're using a
4+
# Bash framework like oh-my-bash.
5+
6+
export PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )":${PATH}

0 commit comments

Comments
 (0)