Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: profile prompt rendering time



On Jul 13,  9:23pm, Filipe Silva wrote:
}
} Awesome! Is there a way to do that but with the delta?

The "time" command will only output elapsed time, so it is the delta.

However, as Nikolay points out, the plugin is probably spending some
time in the precmd function itself, not loading all the work into the
value of $PS1.  So just timing the printing of the prompt may not
tell you very much.



Messages sorted by: Reverse Date, Date, Thread, Author