Open WitzHsiao opened 9 years ago
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).
@Sgiath thanks for your help, will try it!
Can I use calculated function for omg_ungit_prompt?
I wanna customize my old prompt or use another theme when at a non git directory. How can I do this? thanks