2022-04-29 01:40:21 +00:00
|
|
|
{ pkgs, user, ... }: {
|
2022-04-28 23:20:46 +00:00
|
|
|
|
|
|
|
imports = [ ./git.nix ];
|
|
|
|
|
2022-04-29 01:40:21 +00:00
|
|
|
home-manager.users.${user} = {
|
|
|
|
programs.gh = {
|
|
|
|
enable = true;
|
|
|
|
enableGitCredentialHelper = true;
|
|
|
|
settings.git_protocol = "https";
|
|
|
|
};
|
2022-04-28 23:20:46 +00:00
|
|
|
|
2022-04-29 01:40:21 +00:00
|
|
|
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";
|
|
|
|
};
|
2022-04-28 23:20:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|