diff options
author | Soispha <soispha@vhack.eu> | 2023-10-16 17:57:22 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-16 17:57:22 +0200 |
commit | 0dcbdc974ea96699f15304e8691831fea5c48cad (patch) | |
tree | 0eaea6ccc15b5069da8ae16d671021ce09270550 /hm | |
parent | fix(hm/soispha/conf/git/git_template): Use lowercase type names (diff) | |
download | nixos-config-0dcbdc974ea96699f15304e8691831fea5c48cad.tar.gz nixos-config-0dcbdc974ea96699f15304e8691831fea5c48cad.zip |
feat(hm/soispha/git): Add 'cm' (commit) alias
Diffstat (limited to 'hm')
-rw-r--r-- | hm/soispha/conf/git/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
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"; |