Commit Graph

337 Commits

Author SHA1 Message Date
Kevin van Zonneveld
e2602f6a58 Merge branch 'master' of github.com:kvz/bash3boilerplate
Conflicts:
	main.sh
2014-07-23 11:34:05 +02:00
Kevin van Zonneveld
af23876cd1 Bump version 2014-07-23 11:31:42 +02:00
Kevin van Zonneveld
e5af9cf01b Consistent use of longhand options 2014-07-23 11:31:34 +02:00
Kevin van Zonneveld
7304249545 Whitespace 2014-07-23 11:31:17 +02:00
Kevin van Zonneveld
17e7677757 Shrink boilerplate function 2014-07-23 11:30:53 +02:00
Kevin van Zonneveld
3f8ac03553 Color support for more xterms 2014-07-23 11:30:33 +02:00
Kevin van Zonneveld
667bfd7350 Localize function vars 2014-07-23 11:30:09 +02:00
Kevin van Zonneveld
5e492a419c DIR and FILE are actually local vars, so lowercase
Also improve pathfinding to not rely on readlink, and to work as
expected when file is sourced
2014-07-23 11:29:42 +02:00
Kevin van Zonneveld
35b7b8927d Wrap comments for readability 2014-07-23 11:28:54 +02:00
Kevin van Zonneveld
5f1de4077c Better defaulting of ENV vars 2014-07-23 11:28:38 +02:00
Kevin van Zonneveld
61c70a5045 More descriptive doc header 2014-07-23 11:28:23 +02:00
Kevin van Zonneveld
4e35f9fc0c More portable shebang 2014-07-23 11:27:53 +02:00
Kevin van Zonneveld
709d1d544b Add License 2014-07-23 11:27:35 +02:00
Kevin van Zonneveld
c231fa757c Update README.md 2014-01-12 12:03:32 +01:00
Kevin van Zonneveld
d94f32f93a No global scope for local variables 2013-09-06 13:46:32 +02:00
Kevin van Zonneveld
5cc1abc71a Fix Typo 2013-09-06 13:24:18 +02:00
Kevin van Zonneveld
ef898f55e9 Change /bin/bash shebang to /usr/bin/env for better portability 2013-04-19 13:14:38 +02:00
Kevin van Zonneveld
2155d65692 Write all messages to stderr
So that scripts based on bash3boilerplate are easier to use before pipes.  
It also makes it feasible to use an emergency inside a function without losing emergency's output being captured by the function's caller
2013-04-18 17:09:24 +03:00
Kevin van Zonneveld
089b13735f Reusable front matter 2013-03-28 15:33:44 +01:00
Kevin van Zonneveld
5988c9f5d8 Update README.md 2013-03-28 14:23:24 +01:00
Kevin van Zonneveld
6bef4d1234 Update README.md 2013-03-27 17:56:19 +01:00
Kevin van Zonneveld
7d207fb25e Update README.md 2013-03-27 17:54:31 +01:00
Kevin van Zonneveld
c4cf01ff83 Update README.md 2013-03-27 16:08:49 +01:00
Kevin van Zonneveld
03885895a8 Update README.md 2013-03-27 16:08:31 +01:00
Kevin van Zonneveld
fca8f6954b Update README.md 2013-03-27 16:05:58 +01:00
Kevin van Zonneveld
8c1ada1857 Licensed under MIT 2013-03-27 15:53:41 +01:00
Kevin van Zonneveld
b9dfc56e3c better magic variables for current FILE & DIR 2013-03-24 13:35:58 +01:00
Kevin van Zonneveld
95f044d453 Update main.sh 2013-03-24 12:26:25 +01:00
Kevin van Zonneveld
1ec58a1671 Consistently enclose vars 2013-03-20 15:37:14 +01:00
Kevin van Zonneveld
71f487ae47 Update README.md 2013-03-20 15:35:46 +01:00
Kevin van Zonneveld
2d70a6c4ac Update README.md
Thanks @predominant
2013-02-27 00:12:10 +01:00
Kevin van Zonneveld
ca5f37bb4d Small clarifications 2013-02-26 13:12:53 +01:00
Kevin van Zonneveld
bd844228f9 Move intro to blog 2013-02-26 00:30:30 +01:00
Kevin van Zonneveld
6aadcb3222 SemVer. More consistent docs 2013-02-25 23:54:34 +01:00
Kevin van Zonneveld
d309bba768 Introduce first verion of main.sh 2013-02-25 23:39:51 +01:00
Kevin van Zonneveld
0288e282f0 First swing at readme 2013-02-25 23:39:31 +01:00
Kevin van Zonneveld
5db5691253 first commit 2013-02-25 23:33:24 +01:00