paulirish / git-open

Type `git open` to open the GitHub page or website for a repository in your browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] Bash-it support

NGenetzky opened this issue · comments

Bashit is like oh-my-zsh.

This would be a nice plugin to have.

How exactly did you want a plugin? Can you give me an example external plugin? Bash-it doesn't look like a package manager, more like a collection of aliases/scripts (Similar to oh-my-zsh).

Antigen and Antibody are examples of Package Managers for ZSH (Along with others). I believe Antibody works with bash though. These let you install packages from github and you can use it for installing this package if you had ZSH. You can also use them to install oh-my-zsh scripts (See https://getantibody.github.io/compat/).

So I'm not exactly sure how we would add this. If bash-it has a package manager that I don't see I'd be fine with adding it.

@derimagia , you make a good point. I am not sure if bash-it has support for external commands. I assumed fzf was a simlar case but it looks like installation of fzf is required before the plugin is useful.

Perhaps @nwinkler, could weigh in; I know he has contributed to that project because I use his theme 😉 .

There shouldn’t be anything special required for using git-open with Bash-it, right. Bash-it’s are more like additional scripts that use a tool like fzf in a smart way - installation if the tool itself is handled separately as you described.

Thanks for the plug for Bash-it, though - appreciate it!