From 136fcdc7046b992a5f36418a86fcfc54b3306702 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Apr 2024 20:57:48 +0200 Subject: shell: configure programs.gh --- user/settings/shell.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'user/settings/shell.nix') diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 6542636a..3158c1af 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -141,9 +141,18 @@ in sngc = "sudo nix-collect-garbage --delete-older-than 30d"; }; }; + programs.gh = { + enable = true; + extensions = with pkgs; [ gh-eco ]; + settings = { + git_protocol = "ssh"; + aliases = { + fork = "repo fork --origin-name fork --default-branch-only"; + }; + }; + }; home.packages = with pkgs; [ fzf - gh ghq delta git -- cgit 1.4.1