We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Not a bug, but just a question.
Is it possible to just show the current directory instead of the entire path?
i.e. myproject instead of ~/projects/myproject
myproject
~/projects/myproject
The text was updated successfully, but these errors were encountered:
This would be solvable by #460, if it gets implemented (but nobody is working on it atm).
Now, if you don't mind making your own changes / forking, it's a simple one line change 😄:
diff --git pure.zsh pure.zsh index 2cbd7d0..d8326ae 100644 --- pure.zsh +++ pure.zsh @@ -135,7 +135,7 @@ prompt_pure_preprompt_render() { [[ -n $prompt_pure_state[username] ]] && preprompt_parts+=($prompt_pure_state[username]) # Set the path. - preprompt_parts+=('%F{${prompt_pure_colors[path]}}%~%f') + preprompt_parts+=('%F{${prompt_pure_colors[path]}}%1~%f') # Git branch and dirty status info. typeset -gA prompt_pure_vcs_info
Sorry, something went wrong.
I don't mind at all. That works beautifully, thank you!
No branches or pull requests
Hi! Not a bug, but just a question.
Is it possible to just show the current directory instead of the entire path?
i.e.
myproject
instead of~/projects/myproject
The text was updated successfully, but these errors were encountered: