Last active
August 29, 2015 14:09
-
-
Save mesprague/7d0c43d087c5f6329943 to your computer and use it in GitHub Desktop.
Bash functions for arch linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# search the Arch User Repository | |
alx-aur-search() { curl -s $(printf "https://aur.archlinux.org/rpc.php?type=search&arg=%s" $1) | jshon -e results; } | |
findowner() { local result = ($(pacman -Qo $1)); echo ${result[4]}; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment