| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
word nor an event designator
There are still a few cases where expansion is attempted even though the
documentation indicates it will not be, but in most of those cases the
expansion will fail. The now-fixed case would fall back to default
expansion of the previous command.
|
|
|
|
|
|
| |
With SHAREHISTORY we should make sure the code behaves as it always
did, because it takes care about locking a file once for reading
and writing.
|
|
|
|
|
| |
Modify 31789 so it doesn't try to save history from hbegin()
in that case.
|
| |
|
| |
|
|
|
|
| |
This improves the timing recorded in the history.
|
|
|
|
|
|
|
| |
When deciding whether there is enough horizontal space to show completion
descriptions for each match in a listing, treat the separator as part of
the description rather than as part of the match, and account for lines
that have already wrapped due to very long matches.
|
| |
|
| |
|
| |
|
|
|
|
| |
This allows undo to work on everything entered.
|
|
|
|
| |
Don't use the zpc_specials array before it's defined, it's rude.
|
|
|
|
|
|
|
|
|
|
| |
While limiting the completion to __git_changed-in-index_files
makes perfect sense for "git diff", it is wrong to use for
"git rm", because it prevents it from completing files present in
HEAD. Giving --cached to git rm is supposed to
"just remove it from the index, keep the working tree copy"
and is in no way related to the file needing to be
modified in the index in the first place.
|
| |
|
|
|
|
|
|
|
|
|
| |
diff options:
--cumulative is deprecated --> remove
-G / -S: reword -S to emphase the difference to -G
revision options:
--abbrev: reword, to emphase the --abbrev-commit requirement
|
|
|
|
| |
No functional changes.
|
| |
|
|
|
|
|
|
|
|
| |
this is used in git 1.8's
git checkout <branch>
as a shorthand for
git checkout -b <branch> --track <remote>/<branch>
in case <branch> exists on exactly one remote and is not a local branch
|
|
|
|
|
| |
Support for merge drivers, filter drivers, and diff drivers is
missing.
|
| |
|
| |
|
| |
|
|
|
|
| |
The space is relevant to make the help text work as intended.
|
|
|
|
|
| |
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
|
| |
|
|
|
|
| |
This probably was a copy/paste mistake.
|
| |
|
| |
|
|
|
|
| |
Was causing crashes in complex completions, particularly with taskwarrior
|
|
|
|
| |
Signed-off-by: Luka Perkov <luka@openwrt.org>
|
|
|
|
|
|
|
| |
While at it move suspend command so the order of the
sytem commands equals the one in the systemd help.
Signed-off-by: Luka Perkov <luka@openwrt.org>
|
|
|
|
| |
symbolic link.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Luka Perkov <luka@openwrt.org>
|
|/
|
|
| |
Allows alien file systems to be marked as not having executable fiels
|
| |
|
| |
|
| |
|
|
|
|
| |
Treat ! as a string in "test ! -a ..." and "test ! -o ...".
|
|
|
|
| |
Makes handlers put into the background run without job control.
|
| |
|
| |
|
| |
|
|
|
|
| |
Also add test.
|
|
|
|
|
|
| |
Change of directory should not be retried relative to the current directory
when it has already failed along some path that does not refer to the
current directory.
|
| |
|
| |
|
|
|
|
|
| |
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
|
|
|
|
| |
Update ZLE version if history is read, pushed or popped with ZLE active
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Given `alias fetch='noglob fetch'`, without this change `run-help fetch`
recurses to invoke itself on the noglob command, bringing up the help
for noglob. Similarly for nocorrect. Thus the user would have to quit
out of the pager, then avoid quitting out of the loop, so that they can
go into the second iteration and see the help for the second instance
found by `whence -a`, which happens to be the target of the alias.
With common pagers, that's thus 'q', 'not-q'. Somewhat frustrating.
Without this change, `alias foo='noglob bar'` where `foo` is not
otherwise a command would _never_ show the help for `bar`, since it only
showed the help for `noglob` and there was no second line of whence
output to trigger the second pass.
With this change, aliases to `noglob|nocorrect` of a command somewhat
ignore the presence of that precommand modifier; if a command is aliased
to `noglob $itself`, then the result is that the first line of whence
output is shown, no pager is used, the user can immediately see a prompt
to continue and press something other-than-q to see the help for the
command.
If given `alias foo='noglob bar'` then `run-help foo` will immediately
show the help for bar.
This behaviour was chosen to be consistent with the existing alias
support, but just working better with the precommand modifier.
|