/git_open

A Fish script that opens the project page for the currently open repository.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Requirements

Supported hosts

Description

A Fish script containing the git_open function. This function checks if you’re in a git repository, and, if you are, opens that repository’s page in your web browser. If desired, this script can also be changed in order to add it to the user’s fish configuration, usually located at /home/[USER]/.config/fish/functions.

How to set as a Fish function

Edit git_open.fish and remove the function call at the end (git_open). Then, move git_open.fish into /home/[USER]/.config/fish/functions. The location of this folder may vary from system to system.