Convert a tilde path to an absolute path: ~/dev
→ /Users/sindresorhus/dev
Untildify a path for the current user even if it is root
Convert a tilde path to an absolute path: ~/dev
→ /Users/john/dev
Expand the ~
shortcut at the start of a path into the current user's $HOME directory