1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-07 09:21:18 +02:00
Commit graph

11134 commits

Author SHA1 Message Date
Daniel Shahaf
cc3983ee58 44945: vcs_info git: Optimize detection by running fewer external commands. 2019-11-29 20:56:42 +00:00
Daniel Shahaf
dae3e135d8 44948: _subversion: Make _svn_controlled offer everything rather than nothing. 2019-11-29 20:34:34 +00:00
Daniel Shahaf
a4f5c345c8 44947: _subversion: Complete the 'auth', 'changelist', 'patch', 'resolve', and 'x-unshelve' subcommands. 2019-11-29 20:34:32 +00:00
Daniel Shahaf
a6b6b650fb 44946: _subversion: Make _svn_conflicts not offer all files in the directory. 2019-11-29 20:34:30 +00:00
Wayne Davison
95882efbf7 44912: more quoting fixes in _expand
Don't set done_quote=1 if the glob result is empty.
2019-11-26 16:27:51 -08:00
Oliver Kiddle
8aa84bd5fc 44923: update options for git 2.24 2019-11-24 22:58:38 +01:00
Oliver Kiddle
5df672b9d7 44896: use opt_args to find base directory and use it for $(CURDIR) 2019-11-24 22:56:21 +01:00
Daniel Shahaf
87db974a84 users/24451: zgetcwd: Add a guard against returning an empty string. 2019-11-19 19:20:38 +00:00
Daniel Shahaf
030440d5b7 unposted: Add smoke test for :P history modifier. 2019-11-19 17:57:13 +00:00
Peter Stephenson
88d14451b0 users/24445: Add :P modifier to history code.
This was in the glob qualifier and variable code but got missed out
of the separate history modifier function.
2019-11-18 15:26:17 +00:00
skirit
a8b0d399e5 unposted (salsa.debian.org MR!1): _ip: Complete the -brief option 2019-11-11 16:00:16 +00:00
Daniel Shahaf
b06117ad21 44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>.
Upstream revision: r1869578 (for 1.14.0)
2019-11-09 12:39:48 +00:00
Daniel Shahaf
369e4a4057 unposted: _values: Use the formal parameter's name in the docstring. 2019-11-08 14:09:18 +00:00
Daniel Shahaf
ed26bf92d6 44897: _subversion: Complete --show-item=changelist 2019-11-07 12:04:27 +00:00
Oliver Kiddle
d2289b42a7 44895: complete options for state change notifications and other improvements 2019-11-06 21:32:25 +01:00
Eitan Adler
0a296d15ac 44882: add completion of -save-stats flag 2019-11-06 21:26:47 +01:00
Oliver Kiddle
64661103f0 unposted: fix missing local declarations in _sequence 2019-11-06 21:15:20 +01:00
Sebastian Gniazdowski
2c94b597bd github #41: Extend _dbus with dbus-launch completion 2019-10-29 15:59:02 +01:00
Oliver Kiddle
248ae0b77e unposted: tweak to check for openzfs rather than Solaris 2019-10-29 15:55:25 +01:00
Teddy Heinen
5cf1d6dfd1 github #40: Teddy Heinen: adjust zfs completion to use acltype on linux instead of aclmode 2019-10-28 23:15:37 +01:00
Peter Stephenson
8c25d92e11 44864: Avoid inifinite loop in tty init.
If we can't grab the terminal in interactive mode, give
up after 100 goes.  This is a completely arbitrary choice;
we simply don't know what in the system could change the
result of looping further.
2019-10-28 11:56:19 +00:00
Sebastian Gniazdowski
5be28dac5d 44865: Try harder to link in curses module 2019-10-28 11:51:29 +00:00
romkatv
6c6200520a unposted: fix indentation (whitespace-only change)
Indentatin in moveto was broken by 3eea35d0 (my bad), making it
difficult to read. This commit reverts it to what it used ot be.
While at it, fix indentation in a few other places in the same
file.
2019-10-28 12:00:55 +01:00
dana
9b69e84729 44846: _dates: Fix regression caused by workers/44274 2019-10-18 18:47:21 -05:00
Oliver Kiddle
308295d4d2 c.f. 44831: remove completion functions for long dead projects 2019-10-18 22:57:24 +02:00
Oliver Kiddle
ea78d0d4ae c.f. 44831: remove completion functions included in upstream projects 2019-10-18 22:52:32 +02:00
Oliver Kiddle
a891557b49 44849: completion updates for changes in OpenBSD 6.6 2019-10-18 22:47:32 +02:00
_RuRo_ (Андрей Стоцкий)
59901e61cb 44841: Better checking of errors from "nice" 2019-10-16 17:41:41 +01:00
Daniel Shahaf
1156b2aa44 44812: _subversion: Fix syntax error in 44726/0001 2019-10-14 01:24:51 +00:00
Daniel Shahaf
c263b79c59 44809: _typeset: Complete 'functions -c' 2019-10-14 01:24:47 +00:00
dana
7b24b2662e unposted: Add missed ChangeLog entry for workers/44784 2019-10-12 02:07:40 -05:00
dana
c6a14bd341 44767: _description: Ignore -J 2019-10-12 02:02:23 -05:00
dana
b79b779166 44681 (tweaked): _composer: Eliminate questionable eval, fix quoting issue 2019-10-12 02:02:15 -05:00
Daniel Shahaf
72c6dbe1be unposted: functions -c: Fix typo 2019-10-10 03:45:02 +00:00
romkatv
243e46998e bug fix: infinite loop when tty disappears
When TTY disappears and there is at least one fd watcher, raw_getbyte() can
enter an infinite loop where it keeps calling poll() over and over again.

To reproduce, open a terminal, start zsh and type this:

  rm -f /tmp/fifo
  mkfifo /tmp/fifo
  exec 3<>/tmp/fifo
  do-nothing() {}
  zle -F 3 do-nothing

Then make TTY disappear. For example, kill the parent with `kill -9 $PPID`
and close the terminal window if it's still there. Observe that zsh is
consiming 100% CPU. Note that do-nothing() never gets called.

This patch makes the poll() loop in raw_getbyte() terminate when TTY is
signalling POLLHUP. This makes the behavior consistent with the case where
TTY disappears while no fd watchers are installed.
2019-10-04 14:18:18 +02:00
Daniel Shahaf
dca638e301 44797: _git-config: Complete unknown options from 'git help -c'. 2019-10-02 17:11:11 +00:00
Oliver Kiddle
0cc98dfe05 44800: complete tmux formats 2019-10-01 23:15:21 +02:00
Oliver Kiddle
d89fad7b4f 44799: new pv completion 2019-10-01 23:13:22 +02:00
Oliver Kiddle
7d2d242b30 44798: completion option update 2019-10-01 23:10:17 +02:00
Oliver Kiddle
934fc7d116 44783, 44791: mark some repeatable options with * in the _arguments specs 2019-09-30 23:20:24 +02:00
Oliver Kiddle
2c03873053 44788: handle newer rpm commands like rpmkeys, rpmsign and update options 2019-09-30 23:14:36 +02:00
Oliver Kiddle
095a012152 44782: new completions for avahi and pkgin 2019-09-27 01:48:17 +02:00
Gautam Iyer
3c761b5f23 gitlab !9: Rudimentary seafile client completion 2019-09-27 00:44:10 +02:00
Doron Behar
6711985b4b gitlab !11: luarocks: Fix/improve logic of cache validation
Also: Remove unnecessary quoting of helper function calls.
2019-09-27 00:34:30 +02:00
Oliver Kiddle
4f48ce208b 44781: add completion of SELinux contexts 2019-09-27 00:27:45 +02:00
Oliver Kiddle
81be5d1dce 44780: add completion to getent for the utmpx key on FreeBSD 2019-09-27 00:23:50 +02:00
Oliver Kiddle
0ff02590c3 44779: completion for new git switch and git restore commands 2019-09-27 00:16:54 +02:00
Bart Schaefer
530d6337e6 unposted (see 44772): quote the string argument to zle -U 2019-09-24 10:07:32 -07:00
Jun-ichi Takimoto
39e39910eb 44768: _tar: improve completion of long options 2019-09-20 12:41:54 +09:00
Tobias Schulte
bed4e91681 github #38: fix completion text for git update-index --chmod 2019-09-18 16:29:47 +00:00