Skip to content

Commit

Permalink
Fixes Bug 21 - TickTick initialization in a script runs commands twice
Browse files Browse the repository at this point in the history
  * Documentation update to show proper usage.
  • Loading branch information
kristopolous committed Jun 28, 2012
1 parent 4750b70 commit 577e507
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ TickTick enables you to put JSON in bash scripts. Yes, just encapsulate them wi

**Note: This is just a fun hack.** You may want to consider using mature languages like Ruby or Perl to solve actual real life problems. Oh who am I kidding, I use whitespace and brainfuck every day.

# Usage

Proper usage (if there is such a thing), is to place the following line right after the "shbang" at the top of your script. For instance:

#!/bin/bash
#
# Nuclear_meltdown_preventer.sh
#
# This is really important stuff. Don't edit it!
#
. ticktick.sh

..

See how that's near the tippity-top? That's where it's supposed to go. If you put it lower, all bets are off. :-(

# API

Arrays
Expand Down

0 comments on commit 577e507

Please sign in to comment.