mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 06:22:56 +00:00
23 lines
484 B
Nix
23 lines
484 B
Nix
{ pkgs, user, ... }: {
|
|
|
|
imports = [ ./git.nix ];
|
|
|
|
home-manager.users.${user} = {
|
|
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";
|
|
};
|
|
};
|
|
|
|
}
|