summaryrefslogtreecommitdiff
path: root/themes/peepcode.zsh-theme
diff options
context:
space:
mode:
authorAndrew Baumann <0xabu@users.noreply.github.com>2018-05-17 05:46:27 -0700
committerMarc Cornellà <marc.cornella@live.com>2018-05-17 14:46:27 +0200
commitfbcda4d5a92e023388259652652d154558e49ef3 (patch)
treec945e284694e6da8f1ed16eee9e40b508c075282 /themes/peepcode.zsh-theme
parent3dab7e46e8815838c8099040e11a7ae9a30ba03d (diff)
downloadzsh-fbcda4d5a92e023388259652652d154558e49ef3.tar.gz
zsh-fbcda4d5a92e023388259652652d154558e49ef3.tar.bz2
zsh-fbcda4d5a92e023388259652652d154558e49ef3.zip
agnoster: cut down on fork/execs improve performance when not in a repo (#6210)
* agnoster: improve perf with use of $jobstates (zsh/parameter module) This saves multiple fork/execs (for the subshell and wc) each time the prompt is rendered * agnoster: compute git repo_path only when in a git repo this avoids needlessly invoking git twice every time we render the prompt * agnoster: avoid subshell when rendering prompt Rather than forking a subshell to print the prompt, construct it incrementally by appending to $PROMPT. v2: fix incorrect CURRENT_BG v3: fix bzr and hg prompting Thanks @mcornella for the help.
Diffstat (limited to 'themes/peepcode.zsh-theme')
0 files changed, 0 insertions, 0 deletions