Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/profiles/home/git/common.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: {
home.packages = with pkgs; [ delta hub ];
home.packages = with pkgs; [ delta ];

programs.git = {
enable = true;
Expand All @@ -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'

Expand All @@ -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" ];
Expand Down