Searched refs:curhist (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10/zsh-61/zsh/Src/
H A Dhist.c72 * Note on curhist: with history inactive, this points to the
75 * However, curhist is incremented to reflect the current line anyway
78 * that curhist will be decremented in hbegin().
80 * Note curhist is passed to zle on variable length argument list:
85 mod_export zlong curhist; variable
136 #define HA_NOINC (1<<1) /* Don't store, curhist not incremented */
197 /* default event (usually curhist-1, that is, "!!") */
214 zlong curhist; member in struct:histsave
534 ev = addhistnum(curhist,-1,HIST_FOREIGN);
549 ev = (t0 < 0) ? addhistnum(curhist,t
[all...]
H A Dinit.c170 if (hist_ring && curline.histnum == curhist)
836 curhist = 0;
H A Dprompt.c455 convbase(bv->bp, curhist, 10);
832 convbase(bv->bp, curhist, 10);
H A Dzsh.h487 #define firsthist() (hist_ring? hist_ring->down->histnum : curhist)
H A Dbuiltin.c1477 if (OPT_ISSET(ops,'l') && first < curhist) {
1479 * When listing base our calculations on curhist,
1481 * Also, in that case curhist will have been modified
1489 last = (curline.histnum == curhist) ? addhistnum(curhist,-1,0)
1490 : curhist;
1501 * curhist.
1506 first = OPT_ISSET(ops,'l')? addhistnum(curhist,-16,0)
1535 if (last >= curhist) {
1536 last = curhist
[all...]
H A Dparams.c314 IPDEF4("HISTCMD", &curhist),
/macosx-10.10/zsh-61/zsh/Src/Zle/
H A Dzle_hist.c463 if (histline == curhist || histline != srch_hl || zlecs != srch_cs ||
522 if (histline == curhist || histline != srch_hl || zlecs != srch_cs ||
544 if (zlinecmp(zt, str) < (he->histnum == curhist) &&
594 zle_goto_hist(curhist, 0, 0);
633 lasthist = curhist;
645 lasthist = curhist;
649 if (evhist == curhist) {
1742 if (histline == curhist) {
1749 if (!zle_goto_hist((zmod.flags & MOD_MULT) ? zmult : curhist, 0, 0) &&
2052 tst = zlinecmp(zt, zlemetaline) < (he->histnum == curhist);
[all...]
H A Dzle_main.c1192 histline = curhist;
1347 int atcurhist = histline == curhist;
1351 histline = curhist;
H A Dcompctl.c3747 zlong i = addhistnum(curhist,-1,HIST_FOREIGN), n = cc->hnum;
/macosx-10.10/zsh-61/zsh/Src/Modules/
H A Dparameter.c1061 int i = addhistnum(curhist, -1, HIST_FOREIGN);
1092 int i = addhistnum(curhist, -1, HIST_FOREIGN), iw;

Completed in 183 milliseconds