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

Added a compact mode #217

Closed
wants to merge 1 commit into from
Closed

Conversation

noaccOS
Copy link
Contributor

@noaccOS noaccOS commented Apr 22, 2020

Allows the user to set a compact mode, in which the first line of the prompt is hidden when in his home directory, and the newline '\n' is disabled too

@andreiborisov
Copy link
Collaborator

Hi @noaccOS! Thanks for the PR! I’m currently in the process of rewriting pure with a new modular approach, which should allow such level of customization without the need to modify prompt code itself. Unfortunately, that also means we probably cannot accept this PR, since we aim to be inline with original pure functionality for this major version.

That said, please, don't delete the PR branch yet, I’m going to look into it to make sure that the rewritten version will specifically support your desired configuration😉

@edouard-lopez edouard-lopez added the 🚀 enhancement performance, UX or maintainability label Dec 1, 2020
@edouard-lopez
Copy link
Member

Thanks @noaccOS,
For those interested, it looks like that:

compact-mode

However, I won't merge this PR as it's not part of Zsh's pure we are mimicking, but issue #65 is similar and will be added in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement performance, UX or maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants