diff options
author | Alan Pearce | 2024-04-29 20:57:48 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-29 20:57:48 +0200 |
commit | 136fcdc7046b992a5f36418a86fcfc54b3306702 (patch) | |
tree | fa5cd709f5575633f857ac9d4d1863bd9ba856c6 | |
parent | 75a4e09f1d241f7882a86d7f9c4aa1804a981209 (diff) | |
download | nixfiles-136fcdc7046b992a5f36418a86fcfc54b3306702.tar.lz nixfiles-136fcdc7046b992a5f36418a86fcfc54b3306702.tar.zst nixfiles-136fcdc7046b992a5f36418a86fcfc54b3306702.zip |
shell: configure programs.gh
-rw-r--r-- | user/settings/shell.nix | 11 |
1 files changed, 10 insertions, 1 deletions
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 |