Skip to content

Shorten working directory in smaller windows #5434

Discussion options

You must be logged in to vote

You can create two path segments, set the style differently on each and use segment's min_width and max_width to trigger which one you want based on the terminal size.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JanDeDobbeleer
Comment options

@v-amorim
Comment options

Answer selected by jeevanshah07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants