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

feature: zshrc uses ~/bashrc.local #9

Open
MichaelDimmitt opened this issue Sep 20, 2017 · 1 comment
Open

feature: zshrc uses ~/bashrc.local #9

MichaelDimmitt opened this issue Sep 20, 2017 · 1 comment

Comments

@MichaelDimmitt
Copy link
Member

MichaelDimmitt commented Sep 20, 2017

@murjax who uses a zsh configuration.

if you could put the bashrc.local information in this repository

Into your ~/.bashrc.local

And then recreate how to enable that into your zshrc from the bashrc.

We achieved the solution but upon checking on September 19th

The environment had changed.

This will help for my automated scripting.

I would like to automate a solution that adds to the end of the ps1.
Additionally it would be cool if it soured the bashrc.local ps1 to the end of the zsh prompt.

regards, Michael Dimmitt

@murjax
Copy link
Collaborator

murjax commented Sep 21, 2017

This works in zsh:

PROMPT="$p\n\`if [[ $? == 0 ]]; then echo 🚀  ; else echo 🙈  ; fi \`"

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