Merge branch 'master' of github.com:brunofontes/linuxShortcuts

This commit is contained in:
Bruno Fontes 2018-06-01 02:04:55 -03:00
commit f25b0d8759
2 changed files with 17 additions and 1 deletions

6
Arch-Manjaro/aur.sh Normal file
View File

@ -0,0 +1,6 @@
sudo echo
cd ~/Downloads
git clone https://aur.archlinux.org/"$1".git
cd "$1"
sudo yes | makepkg -si && cd ..; rm -rf ""$1""
notify-send """$1"" installed!"

View File

@ -1 +1,11 @@
# linuxShortcuts
# linuxShortcuts
## Arch-Manjaro
### Aur.sh
This is not an automated script, but just a shorcut to `git clone` inside de Download folder, `makepkg -si` and delete the created structure.
**Recommended**: include in your `~/.bashrc` the following line: `alias aur='source ~/aur.sh'`
**Usage**: find your package on aur website and just type `aur name-of-package`.
**Example**: for `visual-studio-code-bin` just type `aur visual-studio-code-bin`. It will ask for your root password and it will install it with all dependencies.