From 184c4340abad9b6bb4930e94676075a51dfc28ad Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 20 Dec 2020 15:34:07 +0200 Subject: [PATCH] Add repo maintenance alias and AUR_PAGER in env --- home/.config/zsh/01-env.zsh | 1 + home/.config/zsh/03-aliases.zsh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home/.config/zsh/01-env.zsh b/home/.config/zsh/01-env.zsh index d2899fa..e742dd4 100644 --- a/home/.config/zsh/01-env.zsh +++ b/home/.config/zsh/01-env.zsh @@ -33,6 +33,7 @@ export DOTREPO="$HOME/git/dotfiles" # nvim ftw! export EDITOR=nvim export PAGER="nvimpager -p" +export AUR_PAGER=$PAGER # Use GPG for SSH authentication export GPG_TTY="$(tty)" diff --git a/home/.config/zsh/03-aliases.zsh b/home/.config/zsh/03-aliases.zsh index 7f0afa2..cd4d4d8 100644 --- a/home/.config/zsh/03-aliases.zsh +++ b/home/.config/zsh/03-aliases.zsh @@ -204,6 +204,9 @@ alias notify-send='notify-send --icon=alarm' # download archiso alias archiso='curl "http://mirror.rackspace.com/archlinux/iso/$(date +%Y.%m).01/archlinux-$(date +%Y.%m).01-x86_64.iso"' +# Update repository +alias repoupdate='aur sync -Su --margs --noconfirm' + # encrypted tar's with zstd compression cgpgtar() { tar cf - --zstd $1 | gpg -e -z 0 > $1.tar.zst.gpg } @@ -280,4 +283,3 @@ btw, () { ▟███▀▘ ▝▀███▙ ▟▛▀ ▀▜▙" } -