| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
All opam subcommands and descriptions are covered, along with
all the flags that are common to all commands. However, only
`opam config` has complete subsubcommand coverage.
|
|
|
|
| |
See https://github.com/fish-shell/fish-shell/issues/1663
|
|
|
|
|
|
| |
Uses awk rather than sed to account for multiple formatting options.
Closes #1260.
|
|
|
|
|
|
|
| |
Completions can now be written which disable file completion and then
selectively re-enable it using this function.
Closes #834.
|
| |
|
|
|
|
|
|
|
|
| |
Apparently, in zsh, Meta+H can be used to display the manpage for
the current command. This commit adds this zsh feature to fish shell.
The F1 keybinding is left, although it's now secondary according to
fish help, as some terminal emulators don't let the user press F1 key.
|
|
|
|
| |
Fixes #1710
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commit 7cad0069e8f4a652d0e22f1b0198f67399e80157.
https://github.com/fish-shell/fish-shell/issues/1723
http://superuser.com/questions/31445/gnu-bc-modulo-with-scale-other-than-0
This is why we can't have nice things.
|
|
|
|
| |
Closes #63.
|
|
|
|
|
|
|
| |
Closes #1643.
Thanks to Mickaël RAYBAUD-ROIG (https://github.com/m-r-r) for the idea
of printf.
|
|\ |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 316d7004a3d4f6905f36301b6d5c9ebd934f11fa.
Reverts fix for 1519 in light of #1713
Conflicts:
fish_tests.cpp
|
| | |
| | |
| | |
| | | |
Print the expected and actual results if an error occurs.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If we get an error relating to our manipulation of the temporary
directory or cwd, we don't want to run the rest of the tests that assume
it worked.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This prevents `echo %*` from printing a private-use character in the
error string.
Fixes #1720.
|
| | |
| | |
| | |
| | | |
This avoids the potential for leaking the resulting string.
|
| | |
| | |
| | |
| | |
| | |
| | | |
my_wcswidth() was just a wrapper around fish_wcswidth() already.
Instead, add two convenience overrides of fish_wcswidth() to common.h
that make it a drop-in replacement for my_wcswidth().
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a wildcard or completion expands to a file that begins with
one or more dashes, prepend a ./ to it so that it doesn't get
parsed as an option.
Fixes #1519
|
|\ \ \
| | | |
| | | | |
Fix emacs completion on OS X
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
history_lru_node_t has implicit destructor defined. However, because
it's being deleted as lru_node_t, it's not being actually called, as
lru_node_t doesn't have a virtual destructor.
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Avoid calling seq with 0 as argument since its behaviour is wrong on OS X.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
It seems expect prioritizes the first pattern in the list, instead of
the pattern that matches earliest in the buffer. That seems pretty
stupid, but let's try moving the prompt pattern to the end and see if
that fixes the Travis failures.
|
| |
| |
| |
| |
| |
| | |
Also tweak colored output to reset before the newline instead of after,
so travis behaves better (for some reason reset causes travis to display
the line in black).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Split test_interactive off from test_fishscript and add a new target
test_high_level that tests both.
Add some Makefile magic so the tests can be run serially without using
sub-make, which gets rid of a little noise from the make output.
Rewrite interactive tests to look better.
|
| |
| |
| |
| | |
This moves the sorting to be done before sorting remaining colors.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
re: fish-shell/fish-shell@2726712e01f2ca254bd46deb5bd27cd417fca158
As this is rendering ok in Firefox, this version should pickup the best
fonts for most browser/os variants based on 'font-stretch' support.
`.fish_left_bar` should be condensed, the main body font shouldn't.
|
| |
| |
| |
| | |
With font-strentch: condensed, the rendering is acceptable.
|
| |
| |
| |
| |
| | |
Fixes #1703. Also fixes short and long options markup in synopsis when
directly following a '(' or '[' character.
|
| | |
|
| | |
|
| |
| |
| |
| | |
std::vector::erase() didn't take const_iterator until C++11 >_<
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Binds with the same sequence in multiple modes was not working right.
Fix up the implementation to propagate modes everywhere as necessary.
This means that `bind` will properly list distinct binds with the same
sequence, and `bind -e` will take mode into account properly as well.
Note that `bind -e seq` now assumes the bind is in the default bind
mode, whereas before it would erase the first binding with that sequence
regardless of mode.
`bind -e -a` still erases all binds in all modes, though `bind -M mode
-e -a` still only erases all binds in the selected mode.
|
| |
| |
| |
| |
| | |
In adding `-k` support to `bind -e` I broke the ability to use `bind -e`
without specifyign `-k`. Oops.
|
| |
| |
| |
| |
| |
| | |
Document all the `bind` flags, including modes.
Fixes #1663.
|
| |
| |
| |
| | |
Also return an exit code of 1 if `bind -k` can't match the key name.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
<em> used to represent something else, but as far as I can tell, all
uses of <em> in the documentation today actually represent text that's
supposed to be visibly different. Notably, the documentation on
supported escapes uses <em> to indicate the letters that are a
placeholder for e.g. a hex digit, as opposed to being a literal
character.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #746.
|
| |
| |
| |
| | |
Fixes #1686
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Add a flag to read to allow for setting the right prompt command in
addition to the existing support for setting the prompt command.
Fixes #1698.
|
| |
| |
| |
| |
| |
| | |
U+F8FF is the last character in the private use area, but it's also the
codepoint used for the Apple symbol (), which is typeable on US
keyboards in OS X, and so should actually work.
|
| | |
|