Skip to content

Instantly share code, notes, and snippets.

@igemnace
Created September 27, 2018 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igemnace/c5033db29fb79df975d679bc47476dbb to your computer and use it in GitHub Desktop.
Save igemnace/c5033db29fb79df975d679bc47476dbb to your computer and use it in GitHub Desktop.
Convenience functions for working with my AUR scripts. Meant to be sourced in ~/.profile, ~/.bashrc, ~/.zshrc, etc.
aur() {
aurget "$@" && aurinstall "$@"
}
aurdeps() {
aurget "$@" && aurinstall --asdeps "$@"
}
reaur() {
aurupdate "$@" && aurinstall "$@"
}
unaur() {
sudo pacman -Runs "$@" && aurremove "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment