From a75586c2cb681860cb3c2557671f73af0919608a Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 1 Feb 2023 10:33:18 +0100 Subject: up --- .config/zsh/alias.zsh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 58e0d6d..c191479 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -200,7 +200,13 @@ alias nb='newsboat' \ pinfo='pkg info -x' \ psearch='pkg search' \ pinstall='doas pkg install' \ - update='doas pkg update && doas pkg upgrade' \ + update='doas pkg update && doas pkg upgrade' +nixi() { + nix-env -iA $(for i in $@; do printf "nixpkgs.%s " "$i"; done) +} +alias nixdel='nix-env -e' \ + nixd='nixdel' \ + nixs='nix search nixpkgs' \ highlight='highlight -Oxterm256 -t4' \ hi='highlight' hil() { -- cgit v1.2.3