Shell (Bash and Zsh) Notes

Author:Emre Şahin
Date:2013.08.17

Don’t use ~ in scripts, use $HOME

I used ~ several times in scripts and it may or may not work. Use $HOME to refer to the home dir, it always works.