Warp icon indicating copy to clipboard operation
Warp copied to clipboard

[Prompt] Add option for a short working directory

Open surjithctly opened this issue 1 year ago • 2 comments

Dupe Check

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

surjithctly avatar May 30 '24 13:05 surjithctly

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.

dannyneira avatar May 30 '24 21:05 dannyneira

warp explicitly breaks starship in multiple ways, including custom starship prompt segments

https://docs.warp.dev/terminal/appearance/prompt#starship

mcandre avatar Dec 09 '25 08:12 mcandre