From 545201f82c1c28ffbe062a551f199881ef7bf313 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 2 Jan 2024 16:41:42 +0800 Subject: [PATCH] home(zsh): add helpful aliases --- home/zsh/home.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/zsh/home.nix b/home/zsh/home.nix index 9a4dd2fc..e0cd2d05 100644 --- a/home/zsh/home.nix +++ b/home/zsh/home.nix @@ -75,9 +75,13 @@ ''; shellAliases = { - gs = "git status"; ls = "ls --color=auto"; + nix-shell = "nix-shell --run zsh"; + switch = "sudo nixos-rebuild -v switch -L"; + + gs = "git status"; + gl = "git log --show-signature"; }; }; }