| Commit message (Collapse) | Author | Age |
|
|
|
| |
Really fixes #3158 and #3152.
|
| |
|
|
|
|
| |
Fixes #3160.
|
|
|
|
| |
Fixes #3153.
|
|
|
|
|
|
| |
npm is often wrapped by a function.
Fixes #3158.
|
|\ |
|
| |
| |
| |
| | |
Fixes #3154.
|
|/
|
|
|
|
|
|
| |
The tty device timestamps on MS Windows aren't usable because they're always
the current time. So fish can't use them to decide if the entire prompt needs
to be repainted.
Fixes #2859
|
|
|
|
| |
And tweak RTF.
|
| |
|
|
|
|
|
| |
Stop printing usage information when error isn't a usage problem.
Add simple test for bg and fg
|
|
|
|
| |
returning a C boolean for builtin_fg success was backwards
|
|
|
|
|
|
| |
I recently noticed there were several invocations of `wcwidth()` that should
have been `fish_wcwidth()`. This adds custom cppcheck rules to detect that
mistake.
|
|
|
|
| |
There is some discussion on #2269
|
|
|
|
|
|
|
| |
Remove vars from the environment that are no longer set. Simplify the code by
removing an unnecessary loop. Add some tests.
Fixes #3124
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://www.freebsd.org/cgi/man.cgi?query=ssh_config&sektion=5
1. It is possible to add multiple whitespace characters between the keyword (i.e. Host) and the argument(s).
2. It is allowed to have a single = and whitespace between the keyword and the argument(s).
3. It is possible to add multiple host names under a single Host directive by spacing the names apart.
1. and 3. are actual conventions that we use in our team, and I couldn't get auto-complete working for fish without this modification.
Modification explained:
a. The space between Host(?:name)? and the \w.* was replaced by (?:\s+|\s*=\s*) to match any sequence of whitespace characters, or optional whitespaces with a single =, per spec.
b. Result of first replacement is piped through another string replace to switch duplicate whitespace characters to a single space, and then piped to be split by that space. This allows specifying several aliases or host names in a single Host/Hostname definition, also per spec.
|
|
|
|
|
| |
Clarify the purpose of the `N_()` macro. Remove inconsistent capitalization of
two strings in the parser module.
|
|
|
|
|
|
|
| |
This remove some stores that clang assures me are very dead.
And an assert() for an unlikely NULL pointer dereference I can't quite
figure out.
|
|
|
|
| |
Minor cleanup related to issue #2199.
|
|
|
|
|
|
|
|
| |
https://docs.travis-ci.com/user/trusty-ci-environment
all trusty images have sudo, and actually it is required
to use this new Travis environment per docs. This makes
it actually do it. Clang is 3.5 now.
|
|
|
|
|
|
|
|
|
| |
Upgraded to using Tavis trusty dist (from precise)
Ubuntu's clang is only 3.4 though.
For fancy address, thread-sanitizer stuff, easier to do on OS X.
We can use the clang that comes with xcode 8 beta.
|
|
|
|
|
|
| |
This was causing issues launching fish_config on OS X if fish.app is
renamed to contain a space (noted, but likely not the actual problem,
in issue #3140)
|
|
|
|
| |
Also adds descriptions for some other options which were absent.
|
|
|
|
|
|
|
|
|
|
|
| |
check-uninstall detects incompatible old installations of fish pre-2006;
it seems unlikely that there are still from-source installations that
will be incompatible in only this way.
install-sh works around a limitation in darcs, the previous VCS, and is
no longer required.
install-force should be refactored at some point.
|
| |
|
| |
|
|
|
|
| |
Show small usage blurb, add newline to end.
|
|
|
|
|
| |
... using snprintf() for the 256-color function in same manner as the
24-bit function.
|
|
|
|
| |
Some changes were cribbed from #1317
|
|
|
|
|
|
|
|
| |
* if (result == ULLONG_MAX) is always false, likely a typo as
result is unsigned long, and the comment says ULONG_MAX.
* use off_t instead of size_t for file size where it can mismatch
st_size's type in stat.h
|
|
|
|
|
|
|
|
| |
For example, an argument 12345^ is a real argument, not a redirection
There's no reason to use ^ here instead of >, and it's annoying to git
users.
Fixes #1873
|
|
|
|
|
| |
Oops, `fish_indent -w` just sits there waiting for input if nothing
is pointing at it, only to give user the error afterwards.
|
|
|
| |
Mention Coverity
|
| |
|
|
|
|
|
|
| |
chmod --reference is not available on OS X
Instead, we copy the source file into the temporary path, so that
mode bits are preserved
|
|\
| |
| | |
Extend autocompletion support
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When given no path, the logic was happy to try to use
an unitialized output_location.
$ fish_indent -w < test.fish
Opening "(null)" failed: Bad address
Initialize the string, and repair the logic to catch this case
and report the problem correctly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
It seems Fedora compresses our whopping 340k of man pages.
Fixes #3130.
Inspired by @TieDyedDevil's work there.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I mixed things up with `netctl` somehow. Since the two are quite
different they do not have the same function, they should not have
the same completions.
I also find that I would be smarter to only display the relevent
profiles given what we want to do. If we want to disable a profile
we should only complete with enabled profile for completion for
instance. I don't know if the implemention is nice enough however.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Explain that globs need to match the entire string and a bit about our
regular expressions.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|