add Shell.expand to replace ~