mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
gets tar from aur (depends on curl taken from falconindy https://github.com/falconindy)
This commit is contained in:
parent
ebdfc177cc
commit
107865f794
1 changed files with 12 additions and 0 deletions
|
|
@ -1,4 +1,16 @@
|
|||
##some functions
|
||||
##gets tar from aur (depends on curl taken from falconindy https://github.com/falconindy)
|
||||
|
||||
aget() {
|
||||
for pkg; do
|
||||
if curl -s --compressed "https://aur.archlinux.org/packages/$pkg/$pkg.tar.gz" | tar xz 2>/dev/null; then
|
||||
echo ":: downloaded $pkg"
|
||||
else
|
||||
echo ":: $pkg not found"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
## scan function that find out what libs are linking to a specific package (taken from wonder https://github.com/wonder)
|
||||
scan () {
|
||||
pacman -Qlq $1 | xargs file | grep ELF | awk -F: '{print $1}' |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue