dotfiles/modules/shell/github.nix
2022-04-28 19:20:46 -04:00

20 lines
416 B
Nix

{ config, pkgs, ... }: {
imports = [ ./git.nix ];
programs.gh = {
enable = true;
enableGitCredentialHelper = true;
settings.git_protocol = "https";
};
programs.fish.shellAbbrs = {
ghr = "gh repo view -w";
gha = "gh run list | head -1 | awk '{ print $(NF-2) }' | xargs gh run view";
grw = "gh run watch";
grf = "gh run view --log-failed";
grl = "gh run view --log";
};
}