Prompt directory feature (hopeful) #3279
valenciavex
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Starship supports fish style truncation in the directory module see the advanced options section. To enable it add the following to your starship config file [directory]
fish_style_pwd_dir_length = 1 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to have a hybrid prompt where a part of it is the current shell prompt and rest is the starship prompt? I don't know if the implementation would allow something like that. Right now it substitutes the whole prompt.
I'm asking this because of a super useful feature of the
fish
shell where it collapses the directory to its first letter in the prompt when you are in a nested file structure.The
truncation
option in thedirectory
module is super powerful and beautiful in starship, but I would also like to pair it with the directory name collapsing feature.Does this warrant raising an issue ?
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions