From 2003b739ba1ffa48e110b430be7c842105826757 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 5 Jul 2024 22:59:07 +0400 Subject: [PATCH] add zsh aliases --- modules/shell/zsh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index 1eea2234..5d5e321b 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -34,7 +34,13 @@ in { enableCompletion = true; shellAliases = { ll = "ls -l"; + + # nix thing update = "sudo nixos-rebuild switch -v"; + search = "nix search"; + shell = "nix shell"; + run = "nix run"; + cleanup = "sudo nix-collect-garbage --delete-older-than 3d && nix-collect-garbage -d"; }; plugins = [ {