From cc430a9da659b5f5963e6ee22504a8f006cf8b42 Mon Sep 17 00:00:00 2001 From: Ethan Turkeltaub Date: Mon, 10 Nov 2025 11:47:38 -0500 Subject: [PATCH] Replace `hub` with `gh` --- modules/profiles/home/git/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/profiles/home/git/common.nix b/modules/profiles/home/git/common.nix index 77721a41..03942c6c 100644 --- a/modules/profiles/home/git/common.nix +++ b/modules/profiles/home/git/common.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: { - home.packages = with pkgs; [ delta hub ]; + home.packages = with pkgs; [ delta ]; programs.git = { enable = true; @@ -9,7 +9,7 @@ aliases = let gitCommand = lib.getExe config.programs.git.package; fzfCommand = lib.getExe pkgs.fzf; - hubCommand = lib.getExe' pkgs.hub "hub"; + ghCommand = lib.getExe pkgs.gh; superprune = pkgs.writeShellScript "git-alias-superprune" '' echo 'Fetching remote then deleting branches that are gone. This may take a moment' @@ -32,7 +32,7 @@ superprune = "!sh ${superprune}"; co = "!sh ${co}"; wipe = "!sh ${wipe}"; - sync = "!${hubCommand} sync"; + sync = "!${ghCommand} repo sync"; }; ignores = [ "*~" "#*#" ".elc" ".#*" "flycheck_*.el" ".projectile" ];