From 6937d7b16689cb80430792209ea3796f1d6b4ce8 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 28 Feb 2024 01:28:10 -0800 Subject: [PATCH] aliases --- home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home.nix b/home.nix index 3eb053c..b47cd95 100644 --- a/home.nix +++ b/home.nix @@ -99,6 +99,16 @@ enable = true; userName = "Zynh Ludwig"; userEmail = "zynh0722@gmail.com"; + aliases = { + co = "checkout"; + ci = "commit"; + st = "status"; + br = "branch"; + hist = "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"; + type = "cat-file -t"; + dump = "cat-file -p"; + graph = "log --graph --decorate --pretty=oneline --abbrev-commit"; + }; extraConfig = { credential = { helper = [