Quote ~ to avoid string substitution in bash 4.3
Merge pull request #11 from hferreiro/patch-1

Escape tilde to avoid string substitution