Commit Graph

79 Commits

Author SHA1 Message Date
Kevin van Zonneveld
ecd6a9f04b Easier testing on travis 2016-02-16 15:48:48 +01:00
Kevin van Zonneveld
f2e8ff236a Add clarifications 2015-11-11 16:10:35 +01:00
Josh
23b68a1bfc Update main.sh
Fix super trivial typo
2015-02-19 19:51:00 -05:00
Kevin van Zonneveld
5b8cf352c8 Use BASH_SOURCE[0] 2014-11-11 12:41:18 +01:00
Kevin van Zonneveld
752036320a Update main.sh 2014-07-29 17:32:23 +02:00
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
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
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
ca5f37bb4d Small clarifications 2013-02-26 13:12:53 +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