summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-01 10:33:18 +0100
committerJoe <rrbo@proton.me>2023-02-01 10:33:18 +0100
commita75586c2cb681860cb3c2557671f73af0919608a (patch)
tree21ee5a8decac54da286e13cb3746092e42717142 /.config/zsh/alias.zsh
parentup (diff)
downloaddotfiles-bsd-a75586c2cb681860cb3c2557671f73af0919608a.tar.gz
dotfiles-bsd-a75586c2cb681860cb3c2557671f73af0919608a.tar.bz2
dotfiles-bsd-a75586c2cb681860cb3c2557671f73af0919608a.tar.xz
dotfiles-bsd-a75586c2cb681860cb3c2557671f73af0919608a.tar.zst
dotfiles-bsd-a75586c2cb681860cb3c2557671f73af0919608a.zip
up
Diffstat (limited to '')
-rw-r--r--.config/zsh/alias.zsh8
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() {