| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Previously --merge happened to work, but only because it was
smuggled in through the 'print' command
|
| |
|
| |
|
|
|
|
|
|
| |
get_is_interactive can crash if proc_init has not been called.
Fixes #2280
|
|
|
|
| |
Fix a few typos too
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expand globs to zero arguments (nullglob) only for set, for and count.
The warning about failing globs, and setting the accompanying $status,
now happens regardless of mode, interactive or not.
It is assumed that the above commands are the common cases where
nullglob behaviour is desirable.
More importantly, doing this with `set` is a real feature enabler,
since the resulting empty array can be passed on to any command.
The previous behaviour was actually all nullglob (since commit
cab115c8b9933ae7db9412c66d452c0ccb2d7152), but this was undocumented;
the failglob warning was still printed in interactive mode,
and the documentation was bragging about failglob behaviour.
|
|
|
|
| |
Patch from `__make_users_completions` of killall command completion
|
|
|
|
| |
`dscl` command have OSX system, to change `__fish_print_users`
|
|
|
|
|
| |
This isn't as necessary anymore and having abbrs in config.fish is nice
for e.g. storing it in git.
|
|
|
|
|
| |
This speeds up adding new abbrs by about 50 to 60% - from 2.3s to 1s for
100 abbrs.
|
|
|
|
|
| |
This speeds up the common case of `abbr -a` calls in config.fish by
about 90% - from 900ms to 90ms for 100 calls.
|
|
|
|
|
|
|
| |
Fixes the invocation of a user-specified browser by the `help` command on Cygwin.
- Use `cygstart` to launch the browser with escaped quotes to avoid problems with spaces in the path to the browser, (e.g. Program Files).
- Use `cygpath` to convert the base help dir to a Windows path before constructing the fie URL to pass to the browser.
|
|
|
|
|
| |
-E is only supported by BSD sed, switch to -r which is also supported
by GNU sed
|
|
|
|
|
|
| |
The values for notification hooks remain available as comments, but this
prevents notifications from other repositories from automatically being
linked across to the official notification channels.
|
| |
|
| |
|
|
|
|
| |
The argv argument may be modified on calls to exchange within the function and should not be const qualified (it's not true from the caller's point of view).
|
|
|
|
| |
It's a bit more explicit than replace.
|
|
|
|
|
| |
Turns out we can skip using string altogether, thanks to the magic of
the cartesian product.
|
|
|
|
|
|
| |
On arm, wchar_t is unsigned, and C++11 and newer disallow implicit
narrowing conversions inside braces. Use an explicit conversion to
fix the build on GCC 6 and up, which defaults to C++11.
|
|
|
|
|
|
|
| |
- Reuse systemd completion functions
- Remove a fork
- Fix #2715 - FreeBSD
- Comments
|
|
|
|
|
| |
Breaks up a big ugly function into separable stages
with a common interface.
|
| |
|
|
|
|
| |
Remove some unnecessary variables, make some things not pointers
|
|
|
|
|
|
| |
Travis-CI runs with clang ASAN enabled, which makes fish slow enough
that certain timing tests fail. Sleep a little so that fish can
catch up.
|
|
|
|
|
| |
The version with the features we use isn't in gentoo stable yet and
older versions print a very ugly warning.
|
|
|
|
| |
refs #1131
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This changes the default escape timeout for the default keybindings (emacs
mode) to 300ms and the default for vi keybindings to 10ms.
I couldn't resist fixing a few nits in the fish_vi_key_bindings.fish file
since I was touching it to set the escape timeout.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All versions of fish prior to this change silently discarded anything written
to stderr while source a config.fish file. Apparently just to avoid having
the source command display an error if the file did not exist. This can mask
real problems. So instead this change explicitly checks whether the file is
readable and silently skips sourcing it if it isn't.
Resolves issue #2702.
|
| |
| |
| |
| | |
Fixes #2672
|
| |
| |
| |
| | |
Partial fix for #2672
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
deque is a memory hog last I checked
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Fixes #2696
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This doesn't seem to speed up anything.
|
| | |
| | |
| | |
| | | |
Missed one option and the option-as-command-hack
|
| | |
| | |
| | |
| | | |
Some new options, one new operation - "--files".
|