-
-
Notifications
You must be signed in to change notification settings - Fork 978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Truncate prompt path #660
Comments
Is it possible to simply set the path in the prompt to be only the dir? I don't need "hot truncate" myself. |
Are you looking to truncate the path at a fixed number of characters, only show the last segment, or show the last n segments? Any of these would probably require some refactoring of pure.zsh since the PWD environment variable is evaluated in multiple functions. |
My limited request was simply that I am able to make the prompt not so long. The default oh-my-zsh prompt does what I'm picturing. Not a big deal though, I'm used to it now. |
I had the same request. Look at Starship with the pure-preset. |
Expose function to "hot truncate" and one to reset.
Will be useful for those deep paths. Would be great to pass argument "diralias" and have that as a temporary home.
So if I traverse further, the new folders get tacked on.
Then one to reset of course.
My apologies if this is already possible by some other means, couldn't find a way myself!
Love the prompt, appreciate your work.
The text was updated successfully, but these errors were encountered: