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

Make path formatting configurable #8

Merged
merged 3 commits into from
Feb 27, 2019
Merged

Make path formatting configurable #8

merged 3 commits into from
Feb 27, 2019

Conversation

phux
Copy link

@phux phux commented Feb 19, 2019

I love this prompt, but I was missing the option to use for example %~ for the path formatting.

PR adds a check for PURE_PROMPT_PATH_FORMATTING.
Now users can define their preferred path formatting via

export PURE_PROMPT_PATH_FORMATTING="%~"

for example.
If PURE_PROMPT_PATH_FORMATTING is not defined it sticks to the current default %c.

@DFurnes
Copy link
Owner

DFurnes commented Feb 27, 2019

This is great, thanks! 🎉

@DFurnes DFurnes merged commit 00207af into DFurnes:master Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants