edited the cwd display. now replaces ~ for home directory