From 0dcbdc974ea96699f15304e8691831fea5c48cad Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 16 Oct 2023 17:57:22 +0200 Subject: feat(hm/soispha/git): Add 'cm' (commit) alias --- hm/soispha/conf/git/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'hm') diff --git a/hm/soispha/conf/git/default.nix b/hm/soispha/conf/git/default.nix index f99f705c..e6c4c01e 100644 --- a/hm/soispha/conf/git/default.nix +++ b/hm/soispha/conf/git/default.nix @@ -1,8 +1,4 @@ -{ - lib, - nixosConfig, - ... -}: let +{nixosConfig, ...}: let gitIgnoreFile = ./git_ignore.git; gitTemplateFile = ./git_template.git; in { @@ -10,7 +6,9 @@ in { enable = true; #package = pkgs.gitAndTools.gitFull; # TODO: for git send-email support aliases = { + cm = "commit --verbose"; st = "status"; + ds = "diff --staged"; di = "diff"; rs = "restore --staged"; -- cgit 1.4.1