Skip to content

kawarimidoll/gh-q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-q

LICENSE

A gh extension to clone GitHub repositories using fzf and ghq.

Requirements

Installation

gh extension install kawarimidoll/gh-q

Upgrading

gh extension list
gh extension upgrade kawarimidoll/gh-q

Usage

Fuzzy find your repo by fzf and clone it by ghq:

gh q

To clone other user's repo, pass username:

gh q kawarimidoll

Installation with Nix / home-manager

Add the input to your flake.nix:

{
  inputs = {
    gh-q = {
      url = "github:kawarimidoll/gh-q";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
}

Then add it to programs.gh.extensions:

{ inputs, pkgs, ... }:
{
  programs.gh = {
    enable = true;
    extensions = [
      inputs.gh-q.packages.${pkgs.stdenv.hostPlatform.system}.default
    ];
  };
}

Prior art

This extension is strongly inspired by hashue/gh-fuzzyclone.

About

A gh extension to clone GitHub repositories using fzf and ghq.

Topics

Resources

License

Stars

Watchers

Forks

Contributors