Make root an alias for sudo if root isn't installed.  Fix missing anchor in tilde_directory.