diff options
author | Joe <rrbo@proton.me> | 2023-02-01 10:33:18 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-02-01 10:33:18 +0100 |
commit | a75586c2cb681860cb3c2557671f73af0919608a (patch) | |
tree | 21ee5a8decac54da286e13cb3746092e42717142 /.config/zsh/alias.zsh | |
parent | up (diff) | |
download | dotfiles-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.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() { |