This is a simple script I wrote to install my other simple scripts. Hope you'll find some of them usefull
Smart script to do various things with your database. Script description: https://github.com/michaelradionov/bdsm
Stable version
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer bdsm
Nightly version
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer bdsm_nightly
Usefull Git aliases. Script description: https://github.com/michaelradionov/git-alias
For Git v2+
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer gg_aliases
For Git v1.X
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer gg_aliases_1X
Bash prompt generator with Git support
Script description: https://github.com/michaelradionov/helloBash
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer hello_bash
df -h
with Cron and Slack
Script description: https://github.com/michaelradionov/dfh
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer dfh
Our branch switcher little script
Script description: https://github.com/Flagstudio/brancher
eval "$(curl "https://raw.githubusercontent.com/michaelradionov/gg_installer/master/gg_installer.sh")" && gg_installer brancher
- It works on Windows, Mac and Linux in Bash supporting terminals
- It backups your old
.bashrc
to something like.bashrc.backup_2018-08-17
- It writing single line of code in your
~/.bashrc
for all GG scripts - This line is first checking foΠΊ scripts existence and only then sourcing them. So it will never break anything
- Bash support. Check by executing
bash --version
- cURL CLI support. Check by executing
curl --version
- Sourcing ~/.bashrc file on session start. Check by:
- executing
echo 'echo "It works"' >> ~/.bashrc
- then start new terminal session. If you see "It works!" then you good.
- Then delete this line from your ~/.bashrc.
- executing
- For the previous item. If you don't know where is ~/.bashrc, you should execute
cd
(without parameters), thenpwd
. Output will be your home path, it equals~
. - If you have literally ANY trouble with installing and using script, please, create an issue in Github repo https://github.com/michaelradionov/gg_installer.