Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ "$1" = "install" ]; then
- shift 1
- yay -S "$@"
- fi
- if [ "$1" = "add" ]; then
- shift 1
- yay -S "$@"
- fi
- if [ "$1" = "update" ]; then
- shift 1
- yay -Syy
- fi
- if [ "$1" = "upgrade" ]; then
- shift 1
- yay -Syyu
- fi
- if [ "$1" = "purge" ]; then
- shift 1
- yay -Rscnd "$@"
- fi
- if [ "$1" = "clean" ]; then
- shift 1
- yay -c
- yay -Scc
- fi
- if [ "$1" = "cleanup" ]; then
- shift 1
- yay -c
- yay -Scc
- fi
- if [ "$1" = "autoclean" ]; then
- shift 1
- yay -c
- yay -Scc
- fi
- if [ "$1" = "autocleanup" ]; then
- shift 1
- yay -c
- yay -Scc
- fi
- if [ "$1" = "delete" ]; then
- shift 1
- yay -Rscnd "$@"
- fi
- if [ "$1" = "remove" ]; then
- shift 1
- yay -Rscnd "$@"
- fi
- if [ "$1" = "del" ]; then
- shift 1
- yay -Rscnd "$@"
- fi
- if [ "$1" = "search" ]; then
- shift 1
- yay -Ss "$@"
- fi
- if [ "$1" = "forceinstall" ]; then
- shift 1
- yay -U /var/cache/pacman/pkg/"$@"
- fi
- if [ "$1" = "info" ]; then
- shift 1
- yay -Qi "$@"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement