Allow setting ddir using ~/path/
Merge pull request #136 from punchagan/set-ddir-expanduser

Allow setting ddir using ~/path/