Utilities scripts to re-use in some setups.
1. Get this project somehow and execute index.sh with your scripts.
DIR=$(dirname $0)
git clone git@github.com:iagodahlem/scripts.git &> /dev/null
source $DIR/scripts/index.sh2. Now you can use any function or constant available.
log "logging"
bold "bolding"
arrow "some arror"
check "some success"
error "some error"
heart3. In the end of your script, is a good idea to remove scripts folder and always get a fresh clone in the next runnings.
rm -rf scripts- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT License © Iago Dahlem