Modified \w to workaround Bash 4 crash.