https://github.com/iagodahlem/scripts
:package: Utilities scripts to re-use in some setups.
https://github.com/iagodahlem/scripts
bash bash-script shell shell-script utilities
Last synced: 2 months ago
JSON representation
:package: Utilities scripts to re-use in some setups.
- Host: GitHub
- URL: https://github.com/iagodahlem/scripts
- Owner: iagodahlem
- Created: 2018-01-16T13:24:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T17:42:34.000Z (over 8 years ago)
- Last Synced: 2025-04-01T19:57:44.181Z (about 1 year ago)
- Topics: bash, bash-script, shell, shell-script, utilities
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scripts
Utilities scripts to re-use in some setups.
## Install
**1.** Get this project somehow and execute [index.sh](index.sh) with your scripts.
```sh
DIR=$(dirname $0)
git clone git@github.com:iagodahlem/scripts.git &> /dev/null
source $DIR/scripts/index.sh
```
**2.** Now you can use any function or constant available.
```sh
log "logging"
bold "bolding"
arrow "some arror"
check "some success"
error "some error"
heart
```
**3.** In the end of your script, is a good idea to remove scripts folder and always get a fresh clone in the next runnings.
```sh
rm -rf scripts
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## License
[MIT License](http://iagodahlem.mit-license.org/) © Iago Dahlem