davidjrice / prezto_powerline

Powerline-esque theme for Prezto ZSH
117 stars 31 forks source link

Resolve #9 and improve performance #13

Open hnoson opened 6 years ago

hnoson commented 6 years ago

Just removed round brackets.

hnoson commented 6 years ago

I made three changes.

  1. Add an option of git log to limit the number of logs, which makes get_time_details faster
  2. Check if there is a commit just by executing git log
  3. funcname()() -> funcname(), which resolves #9