diff options
Diffstat (limited to '')
-rw-r--r-- | .config/zsh/alias.zsh | 8 |
1 files changed, 7 insertions, 1 deletions
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() { |