Add repo maintenance alias and AUR_PAGER in env

This commit is contained in:
Marko Korhonen 2020-12-20 15:34:07 +02:00
parent 51df4a5453
commit 184c4340ab
2 changed files with 4 additions and 1 deletions

View file

@ -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)"

View file

@ -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, () {
▟███▀▘ ▝▀███▙
▟▛▀ ▀▜▙"
}