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

How can I customize old prompt when at a non git directory #86

Open
WitzHsiao opened this issue Aug 10, 2015 · 3 comments
Open

How can I customize old prompt when at a non git directory #86

WitzHsiao opened this issue Aug 10, 2015 · 3 comments

Comments

@WitzHsiao
Copy link

I wanna customize my old prompt or use another theme when at a non git directory.
How can I do this?
thanks

@Sgiath
Copy link
Contributor

Sgiath commented Aug 10, 2015

Edit omg_ungit_prompt variable for different prompt outside the GIT repo (for example my value is \w •).
Edit omg_second_line variable for different second line in GIT repository (for example my value is \W •).
Both variables can be found in promt.sh on lines 7 and 8. Simply delete $PS1 (the default prompt) and write there your own custom settings (in quotes).
You can use this tool http://ezprompt.net/ for customizing your prompt (use only the part in quotes).

@WitzHsiao
Copy link
Author

@Sgiath thanks for your help, will try it!

@WitzHsiao
Copy link
Author

Can I use calculated function for omg_ungit_prompt?

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

No branches or pull requests

2 participants