Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | + Changed histreduceblanks() to preserve spaces at the start of the | Wayne Davison | 2001-05-15 | 1 | -14/+30 |
| | | | | | | | | | line when HISTIGNORESPACE is set. + Flag a history entry with HIST_TMPSTORE when should_ignore_line() returns true (instead of dropping it from the history immediately). + Get rid of old HIST_TMPSTORE entries when a new command is entered. + The hist-file-reading code now handles destroying a foreign duplicate (when marked as duplicate by addhistnode()). | ||||
* | Fixed an obscure local-history bug that could make the "history" | Wayne Davison | 2001-05-10 | 1 | -4/+3 |
| | | | | command output something that was slightly wrong. (14304) | ||||
* | Parameter repairs, mostly for subscripting. | Bart Schaefer | 2001-04-20 | 1 | -1/+1 |
| | |||||
* | Slightly optimized should_ignore_line() by using getjobtext() rather | Wayne Davison | 2001-04-10 | 1 | -9/+3 |
| | | | | than getpermtext(). | ||||
* | properly restore noaliases in bufferwords() (13530) | Sven Wischnowsky | 2001-02-26 | 1 | -1/+2 |
| | |||||
* | 13280: NewImproved handling of colon modifiers w.r.t. paths | Peter Stephenson | 2001-02-19 | 1 | -24/+51 |
| | |||||
* | remove 13108 (trap queues); replace with signal queueing to ensure that user ↵ | Sven Wischnowsky | 2001-01-16 | 1 | -6/+22 |
| | | | | signal handlers are only executed when it is safe to run them (13365) | ||||
* | Fix "vared -h" in shell scripts. | Bart Schaefer | 2000-10-21 | 1 | -2/+7 |
| | |||||
* | Don't call histreduceblanks() if the line didn't parse right. | Wayne Davison | 2000-10-19 | 1 | -4/+5 |
| | |||||
* | isalpha() -> ialpha(); avoid a compiler warning (12439) | Sven Wischnowsky | 2000-07-31 | 1 | -1/+1 |
| | |||||
* | Renamed shouldIgnoreLine() to should_ignore_line(). | Wayne Davison | 2000-07-20 | 1 | -2/+2 |
| | |||||
* | Support "builtin" in the HIST_NO_STORE check. | Wayne Davison | 2000-07-20 | 1 | -3/+6 |
| | |||||
* | Removed remhist() and HA_JUNKED, added an Eprog arg to hend(), and | Wayne Davison | 2000-07-19 | 1 | -25/+47 |
| | | | | | added the shouldIgnoreLine() function that hend() now calls to figure out if it needs to save the line or not. | ||||
* | + Got rid of the spaceflag variable. | Wayne Davison | 2000-07-18 | 1 | -11/+8 |
| | | | | | | | | | | + Make sure that the curline.histnum variable is accurate at the end of our history processing, even if we read in some foreign history and/or if we replaced the prior line because it was a duplicate of the current one. This enables the history (fc -l) command to work properly, even if the current command was HIST_NO_SPACE-ed away. + Don't allow remhist() to remove the last line in the history if we didn't store the current command. | ||||
* | Fix the gethistent() function and enhanced the reliability of the | Wayne Davison | 2000-07-17 | 1 | -9/+14 |
| | | | | SHARE_HISTORY option. | ||||
* | + Needed to call unmeta() in a few spots that used the HISTFILE name. | Wayne Davison | 2000-07-16 | 1 | -20/+36 |
| | | | | | | + The non-HAVE_LINK code in lockhistfile() was broken in a number of ways. + Added an extra unlink() call to the HAVE_LINK code in lockhistfile() since (Linix at least says that) O_EXCL over NFS is broken. | ||||
* | condition parsing with (z) flag | Sven Wischnowsky | 2000-07-13 | 1 | -0/+4 |
| | |||||
* | slightly improved (z) flag for parsing conditions; recognising glob flags in ↵ | Sven Wischnowsky | 2000-07-13 | 1 | -6/+9 |
| | | | | conditions still doesn't work (12237) | ||||
* | fix for (z) flag, don't take # as comment (12228) | Sven Wischnowsky | 2000-07-12 | 1 | -3/+4 |
| | |||||
* | AIX depenency fix (11661) | Oliver Kiddle | 2000-05-30 | 1 | -1/+1 |
| | |||||
* | Wayne: Fix two history bugs that were causing the | Bart Schaefer | 2000-05-30 | 1 | -20/+19 |
| | | | | failure of `print -s'. | ||||
* | save and restore more variables in bufferwords(); move gotword() into core ↵ | Sven Wischnowsky | 2000-05-23 | 1 | -1/+6 |
| | | | | (11523) | ||||
* | Wayne: fix for print -s when called from widget; added lines are not ↵ | Sven Wischnowsky | 2000-05-05 | 1 | -25/+44 |
| | | | | immediately available, though (11171) | ||||
* | fix for the (z) flag: report partial word (like `"foo', without a closing ↵ | Sven Wischnowsky | 2000-05-03 | 1 | -0/+5 |
| | | | | quote); mention in manual that (z) is handled lately (11117) | ||||
* | new (z) parameter flag to do shell-word splitting on the value (11113) | Sven Wischnowsky | 2000-05-03 | 1 | -3/+25 |
| | |||||
* | new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing ↵ | Sven Wischnowsky | 2000-04-12 | 1 | -292/+719 |
| | | | | to find word (10685) | ||||
* | Initial revision | Tanaka Akira | 1999-04-15 | 1 | -0/+1670 |