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

333 Commits

Author SHA1 Message Date
Sven Wischnowsky
b97dd45909 missing mod_export (12613) 2000-08-14 12:53:17 +00:00
Sven Wischnowsky
90c6d73b56 make all builtins in computil test if they were called from a completion function (12610) 2000-08-14 08:16:45 +00:00
Bart Schaefer
135b181aa6 12604: Remove calls to zpathmax(), minor fixes to zopenmax(). 2000-08-14 07:30:28 +00:00
Sven Wischnowsky
4f13bbd654 fixes for completion in math contexts (12592) 2000-08-11 12:19:35 +00:00
Peter Stephenson
f6ecbb7f4d 12581: C_BASES option 2000-08-10 16:19:11 +00:00
Clint Adams
cb89544d32 12568: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES. 2000-08-08 14:57:02 +00:00
Sven Wischnowsky
3bca186819 handle the right option in strings with multiple single-letter options (and correctly handle its argument) (12567) 2000-08-08 12:11:42 +00:00
Sven Wischnowsky
5c90cf1a51 more fixes for completion of special characters (quoting) (12565) 2000-08-08 10:32:47 +00:00
Peter Stephenson
40e4f4c40b unposted: Remove Src/Aliases stuff and remove aliased modules from xmods.conf 2000-08-08 09:28:26 +00:00
Peter Stephenson
c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +00:00
Bart Schaefer
72f4ec6b76 users/3358: Zero shout when closing SHTTY in subshells. 2000-08-08 02:38:35 +00:00
Peter Stephenson
a021f6329b 12555: fix static linking on cygwin 2000-08-07 17:17:05 +00:00
Bart Schaefer
1d2948c2da 12549: Typo in 12547. 2000-08-05 09:51:19 +00:00
Bart Schaefer
1859bb2d0a 12548: Tweak 12547. 2000-08-05 06:52:14 +00:00
Bart Schaefer
1ff8518b16 12547: Handle ENOENT and ENOTDIR in zpathmax(). 2000-08-05 05:59:53 +00:00
Clint Adams
45ffc3b6c8 12541: zrealpath wrapper around realpath() 2000-08-05 01:30:19 +00:00
Clint Adams
971f7c0a19 12533: pathconf() without tail in mkdir 2000-08-04 14:58:05 +00:00
Sven Wischnowsky
8e740b7044 remove (wrong) test for linked-in modules in require_module() (12525) 2000-08-04 07:53:25 +00:00
Bart Schaefer
22cbf1b271 15216: Rewrite pathconf() support. 2000-08-04 07:09:12 +00:00
Sven Wischnowsky
55b07cb525 quoting 2000-08-03 13:35:43 +00:00
Peter Stephenson
5d0ef3096c 12501: Andrej: use zgetenv, zputenv 2000-08-03 13:10:11 +00:00
Sven Wischnowsky
a23d39ce38 make binding of ^D be used in first column if ignoreeof is set and ^D is bound to a shell function widget (12494) 2000-08-03 07:51:53 +00:00
Peter Stephenson
4f1aa826f5 Andrej: Dynamic loading on cygwin 2000-08-02 18:01:51 +00:00
Clint Adams
de7b6730bc 12489: pathconf for unlimited fs 2000-08-02 14:20:41 +00:00
Clint Adams
30e35ee2ed 12472: limited pathconf support 2000-08-02 13:54:17 +00:00
Sven Wischnowsky
d109322359 remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves 2000-08-01 08:27:18 +00:00
Sven Wischnowsky
9bc05a5aa5 isalpha() -> ialpha(); avoid a compiler warning (12439) 2000-07-31 08:12:16 +00:00
Andrew Main
84b04a8728 12436: Doc/Zsh/invoke.yo, Src/init.c: Make -b behave like
the csh -b, permitting more options to be stacked after it and
take effect.  Make -b take effect depending on SH_OPTION_LETTERS,
consistent with all the other single-letter options, rather than
having a clashing check of emulation type.
2000-07-30 19:18:13 +00:00
Andrew Main
9743c19d61 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h,
Src/zsh.mdd: Allow options to be specified on the zsh command line
in the form of GNU-style long options.  Also handle --version
and --help.  Do not permit extra option letters to be stacked
after `-whatever-' (they used to be ignored).  Exit if the
command line specifies an option name that doesn't exist.
2000-07-30 17:03:52 +00:00
Bart Schaefer
b7c6421796 The `wait' builtin accepts only PIDs it can find in the job table. 2000-07-28 16:35:47 +00:00
Peter Stephenson
7697f6134f 12421: extra tab in Makemod.in.in 2000-07-28 10:13:25 +00:00
Peter Stephenson
4a5882eeb3 12411, 12419: Andrej: environment handling with fewer assumptions 2000-07-28 09:10:35 +00:00
Peter Stephenson
19b4ca246a 12415: fix bug in last patch when quoting metafied field separator. 2000-07-27 22:02:45 +00:00
Peter Stephenson
0aee5e1bb4 12414: vared quotes separators when editing arrays 2000-07-27 17:48:47 +00:00
Sven Wischnowsky
d3ceb5e0eb compdescribe shouldn't use the sets after failed initialisation 2000-07-27 08:32:02 +00:00
Bart Schaefer
f303f2ea63 Belatedly fold in 12162, to replace command subst with eval. 2000-07-26 09:16:13 +00:00
Sven Wischnowsky
6585bea1fb fix parsing of `time' without a command (12337) 2000-07-21 07:50:07 +00:00
Wayne Davison
c6a3c250c1 Renamed shouldIgnoreLine() to should_ignore_line(). 2000-07-20 17:00:19 +00:00
Wayne Davison
01ea5e83c5 Support "builtin" in the HIST_NO_STORE check. 2000-07-20 07:09:34 +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
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
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