update pwd string length in prompt