Skip to content
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

Shorten current working directory #364

Open
rvinf opened this issue Aug 10, 2022 · 1 comment
Open

Shorten current working directory #364

rvinf opened this issue Aug 10, 2022 · 1 comment

Comments

@rvinf
Copy link

rvinf commented Aug 10, 2022

Is your feature request related to a problem? Please describe.
It is annoying sometime when the present working directory is too long, eg:
username/hostname/~/rv/cookbooks/mytestrepos/master

Describe the solution you'd like
An option just to display current working directory at the prompt, eg:
mytestrepos/master

@carstenhag
Copy link

It's not the same thing, but you can use path aliases to have something similar, at least for your most-used folders:
https://github.com/justjanne/powerline-go#path-aliases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants