Limiting the path elements in the prompt.