[Prompt] Add option for a short working directory
Dupe Check
- [X] I have searched Warp feature requests and there are no duplicates
Describe the solution you'd like?
Currently the working directory path is too long:
eg: ~/My Works/Big Project/Sub Project Name/Extras/Side Project/Project/project-name
Instead, I would love to see only the current folder name as working directory.
eg: ~/project-name
Is your feature request related to a problem? Please describe.
The lengthy directory is unwanted and look a lot of space.
Additional context
No response
How important is this feature to you?
5 (Can't work without it!)
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
None
Hi @surjithctly Thanks for submitting this! As a possible stopgap, you can use one of the supported custom prompts like starship.rs to truncate the working directory.
To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.
warp explicitly breaks starship in multiple ways, including custom starship prompt segments
https://docs.warp.dev/terminal/appearance/prompt#starship