You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when I go into my git repository located somewhere on disk, the path looks like ~/git/projects/private/my-awesome-repository. I would like to be able to see it as my-awesome-repository, because when I'm working inside the git repo, I don't really care about my global pwd, just the relation to repo's root.
Edit: I've just checked the default configuration and it seems it works that way, but I can't find related configuration option(s) in both Path and Git segment documentation. I'm sorry for creating an issue for this, I will close it as soon as I find the missing settings.
Edit2: ok, it seems that the default configuration uses style Folder and that's why I thought it covers my need - it doesn't. I want to see the full path everywhere except git repositories.
The text was updated successfully, but these errors were encountered:
I'd like a variation of the Folder style called GitFolder or GitRepo that displays the current Folder but when inside a git repo, anchors the git repo root dir.
So if I'm in the root of my repo, lets say path/to/dotfiles it would should dotfiles, but if I cd into a sub folder within the repo, say config/ then I'd like it to display dotfiles/config etc.
I can't find a way to force this behavior with omp today. Also happy to open a separate issue if what I'm asking for doesn't overlap with ftpd's request.
Code of Conduct
What would you like to see changed?
Currently when I go into my git repository located somewhere on disk, the path looks like
~/git/projects/private/my-awesome-repository
. I would like to be able to see it asmy-awesome-repository
, because when I'm working inside the git repo, I don't really care about my global pwd, just the relation to repo's root.Edit: I've just checked the default configuration and it seems it works that way, but I can't find related configuration option(s) in both
Path
andGit
segment documentation. I'm sorry for creating an issue for this, I will close it as soon as I find the missing settings.Edit2: ok, it seems that the default configuration uses style
Folder
and that's why I thought it covers my need - it doesn't. I want to see the full path everywhere except git repositories.The text was updated successfully, but these errors were encountered: