1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
Commit Graph

846 Commits

Author SHA1 Message Date
Wayne Davison
ea8d99e102 Tweaked a function name in hist.c. 2000-07-20 17:06:56 +00:00
Wayne Davison
c6a3c250c1 Renamed shouldIgnoreLine() to should_ignore_line(). 2000-07-20 17:00:19 +00:00
Wayne Davison
fb4e11bb15 Put reordered log entry back and corrected the date. 2000-07-20 16:56:02 +00:00
Chmouel Boudjnah
0ebef10483 Reorder the changelog. 2000-07-20 16:21:47 +00:00
Peter Stephenson
100f25b97f 12239: prefer curses to termcap on solaris 2000-07-20 16:17:57 +00:00
Bart Schaefer
aa78d39811 Discard stderr of a command subst. 2000-07-20 16:13:20 +00:00
Bart Schaefer
ed263e32f9 Fix bad conflict resolution. 2000-07-20 15:51:04 +00:00
Wayne Davison
0db4a7e70b Comments for 12323. 2000-07-20 07:09:51 +00:00
Wayne Davison
01ea5e83c5 Support "builtin" in the HIST_NO_STORE check. 2000-07-20 07:09:34 +00:00
Chmouel Boudjnah
07d524a92f Get also /usr/share/man. 2000-07-19 23:39:06 +00:00
Wayne Davison
666cf52a37 Comments for 12318. 2000-07-19 21:41:44 +00:00
Wayne Davison
1f0e43a2c8 Mention the space-starting-alias feature in HIST_IGNORE_SPACE. 2000-07-19 21:37:18 +00:00
Wayne Davison
1ad69e3d44 Removed remhist() and HA_JUNKED, added an Eprog arg to hend(), and
added the shouldIgnoreLine() function that hend() now calls to figure
out if it needs to save the line or not.
2000-07-19 21:12:06 +00:00
Wayne Davison
90fdda1c33 Call hend() with a NULL arg. 2000-07-19 21:10:18 +00:00
Wayne Davison
8740d0b407 Pass the new Eprog argument to hend(). 2000-07-19 21:09:40 +00:00
Wayne Davison
495249342e Removed call to remhist(). 2000-07-19 20:43:51 +00:00
Wayne Davison
9e7b3f1d25 If an alias starts with a space, set aliasspaceflag to 1 instead of
calling remhist().
2000-07-19 20:42:37 +00:00
Wayne Davison
eaea5cc0db Define aliasspaceflag, and init it in parse_event(). 2000-07-19 20:40:18 +00:00
Sven Wischnowsky
e4c9131b83 a bit of security for a VARARR() (12314) 2000-07-19 14:04:57 +00:00
Peter Stephenson
c4e0379408 12313: bad phrasing in metafaq 2000-07-19 13:56:25 +00:00
Peter Stephenson
6ce73cf6f5 12308: Andrej and pws: _man formats, again 2000-07-19 09:03:29 +00:00
Sven Wischnowsky
67f16de104 don't let duplicate matches keep us from recognising exact matches if they produce the same string on the line (12297) 2000-07-18 08:37:14 +00:00
Wayne Davison
c7578846f7 Comments for 12295. 2000-07-18 08:32:45 +00:00
Wayne Davison
b50d754909 Changed several references to curhist into curline.histnum so that
they would work right even if we didn't store the current command
in the history.
2000-07-18 07:56:45 +00:00
Wayne Davison
b4c5de44f9 + Got rid of the spaceflag variable.
+ 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.
2000-07-18 07:55:13 +00:00
Wayne Davison
2e96c8f074 Removed the spaceflag variable. 2000-07-18 07:49:16 +00:00
Tanaka Akira
b33c464a70 fix date. 2000-07-17 10:58:15 +00:00
Tanaka Akira
cd96c63fe7 * 12274: Test/53completion.ztst, Test/55arguments.ztst,
Test/.distfiles: separates _arguments tests.
2000-07-17 10:35:58 +00:00
Peter Stephenson
5c412f8905 3.1.9-dev-3 zsh-3.1.9-dev-3 2000-07-17 09:02:50 +00:00
Sven Wischnowsky
d666896fa3 don't treat non-option arguments as options (12266) 2000-07-17 08:05:56 +00:00
Wayne Davison
5d04a4010a Added comment for patch 12265. 2000-07-17 02:16:36 +00:00
Wayne Davison
656bce6bf5 Fix the gethistent() function and enhanced the reliability of the
SHARE_HISTORY option.
2000-07-17 02:07:23 +00:00
Wayne Davison
1f781087a8 Comments for 12260. 2000-07-16 20:29:34 +00:00
Wayne Davison
b91def4032 Got rid of a bogus email address for me. 2000-07-16 20:28:15 +00:00
Wayne Davison
2b602a93e6 + Needed to call unmeta() in a few spots that used the HISTFILE name.
+ 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.
2000-07-16 20:12:19 +00:00
Peter Stephenson
d13f6631d7 12247: internal hostnam variable removed in favour of $HOST 2000-07-13 17:06:19 +00:00
Sven Wischnowsky
0982f4ee64 condition parsing with (z) flag 2000-07-13 12:28:12 +00:00
Peter Stephenson
fa699be45d 12242: based on code from Fr. Br. George (George V Kouryachy):
use negative integers in prompt to count from other end of string
2000-07-13 11:20:46 +00:00
Sven Wischnowsky
b46926af8d fix for _arguments with single-letter options: recognize option-strings with multiple options; in _main_complete stop trying completers when one called _message, don't display warnings in such cases (12241) 2000-07-13 11:03:59 +00:00
Sven Wischnowsky
663ecf8e12 fix zle widget -n num with num>9 (12238) 2000-07-13 09:11:54 +00:00
Sven Wischnowsky
c3082d546e slightly improved (z) flag for parsing conditions; recognising glob flags in conditions still doesn't work (12237) 2000-07-13 08:42:10 +00:00
Bart Schaefer
6ef0d9767f Delete stray "a". 2000-07-12 15:21:50 +00:00
Peter Stephenson
4f9a7e27d4 12231: fix compinstall list-prompt setting 2000-07-12 11:04:07 +00:00
Sven Wischnowsky
046f5da3aa fix for list-prompt docs (12229) 2000-07-12 10:36:22 +00:00
Sven Wischnowsky
d861bb9805 fix for (z) flag, don't take # as comment (12228) 2000-07-12 10:31:29 +00:00
Peter Stephenson
cc2213b340 12227: select-prompt handled by compinstall 2000-07-12 10:19:59 +00:00
Sven Wischnowsky
8e2fa4d9b2 don't start menu selection with only select=long (12226) 2000-07-12 09:25:18 +00:00
Sven Wischnowsky
d05b3e675e check if options were completed (12225) 2000-07-12 09:01:40 +00:00
Peter Stephenson
6c1110da32 12222: handle EINTR for multios helper processes 2000-07-11 17:21:26 +00:00
Peter Stephenson
32d2d47fd5 12220: message for missing autoload function 2000-07-11 16:43:26 +00:00