From 962fd972bcf48f81ba592f2b06aee104d885e219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 27 Feb 2024 21:59:29 +0100 Subject: [PATCH] Update zshrc --- home/zsh/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 7e60f94..4d11eef 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -6,5 +6,12 @@ enableAutosuggestions = true; enableCompletion = true; syntaxHighlighting.enable = true; + shellAliases = { + nrebuild = "sudo nixos-rebuild switch --flake /home/${user}/nixos#prismo"; + }; + initExtra = '' + bindkey -v + bindkey '^R' history-incremental-search-backward + ''; }; }