add ~ home user dir replacement in config