aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Added some completions for opamGravatar Vincent Huang2014-09-29
| | | | | | 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.
* bind: add completions for -m and -MGravatar David Adam2014-09-29
| | | | See https://github.com/fish-shell/fish-shell/issues/1663
* __fish_print_hostnames: use awk to process ssh_config filesGravatar David Adam2014-09-29
| | | | | | Uses awk rather than sed to account for multiple formatting options. Closes #1260.
* __fish_complete_path: add new completion, mimics builtin path completionGravatar David Adam2014-09-29
| | | | | | | Completions can now be written which disable file completion and then selectively re-enable it using this function. Closes #834.
* Fix YAML indentation in history.Gravatar Konrad Borowski2014-09-28
|
* Add Meta+H as keybinding for man page.Gravatar Konrad Borowski2014-09-28
| | | | | | | | 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.
* Fix for issue where comments are lost in function definitionsGravatar ridiculousfish2014-09-27
| | | | Fixes #1710
* Fix some busted escape sequences in docs, and slightly reformat a few examplesGravatar ridiculousfish2014-09-27
|
* Revert "math.fish: support floating-point maths"Gravatar David Adam2014-09-27
| | | | | | | | | 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.
* Makefile: warn about SELinux; avoid a bashismGravatar David Adam2014-09-27
| | | | Closes #63.
* math.fish: support floating-point mathsGravatar David Adam2014-09-27
| | | | | | | Closes #1643. Thanks to Mickaël RAYBAUD-ROIG (https://github.com/m-r-r) for the idea of printf.
* Merge branch 'Integration_2.1.1'Gravatar David Adam2014-09-26
|\
* \ Merge branch 'Integration_2.1.1'Gravatar David Adam2014-09-26
|\ \
* | | Revert "Prepend ./ to "flag-like file" wildcard expansions and completions"Gravatar ridiculousfish2014-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 316d7004a3d4f6905f36301b6d5c9ebd934f11fa. Reverts fix for 1519 in light of #1713 Conflicts: fish_tests.cpp
* | | Report expand errors better in fish testsGravatar Kevin Ballard2014-09-25
| | | | | | | | | | | | Print the expected and actual results if an error occurs.
* | | Refactor expand tests slightly to handle errors betterGravatar Kevin Ballard2014-09-25
| | | | | | | | | | | | | | | | | | 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.
* | | Escape the error string in process expansion errorsGravatar Kevin Ballard2014-09-25
| | | | | | | | | | | | | | | | | | | | | This prevents `echo %*` from printing a private-use character in the error string. Fixes #1720.
* | | Make escape() return a wcstringGravatar Kevin Ballard2014-09-25
| | | | | | | | | | | | This avoids the potential for leaking the resulting string.
* | | Remove my_wcswidth() in favor of fish_wcswidth()Gravatar Kevin Ballard2014-09-25
| | | | | | | | | | | | | | | | | | 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().
* | | Prepend ./ to "flag-like file" wildcard expansions and completionsGravatar ridiculousfish2014-09-24
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #1708 from lledey/masterGravatar ridiculousfish2014-09-24
|\ \ \ | | | | | | | | Fix emacs completion on OS X
* | | | Add empty virtual destructor for lru_node_t.Gravatar Konrad Borowski2014-09-24
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Remove dead code in history builtin.Gravatar Konrad Borowski2014-09-24
| | | |
| * | | Fix emacs completion on OS XGravatar lledey2014-09-24
|/ / / | | | | | | | | | Avoid calling seq with 0 as argument since its behaviour is wrong on OS X.
| | * Ignore SIGPIPE in fishd. Fixes #1084Gravatar ridiculousfish2014-09-24
| |/
* | Try to fix the Travis test failuresGravatar Kevin Ballard2014-09-23
| | | | | | | | | | | | | | 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.
* | Fix missing "1 test failed" lineGravatar Kevin Ballard2014-09-23
| | | | | | | | | | | | 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).
* | Rejigger test suiteGravatar Kevin Ballard2014-09-23
| | | | | | | | | | | | | | | | | | | | 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.
* | Make fish config work if one of colors is undefined.Gravatar Konrad Borowski2014-09-23
| | | | | | | | This moves the sorting to be done before sorting remaining colors.
* | Clean up font declarationsGravatar Mark Griffiths2014-09-23
| | | | | | | | | | | | | | | | | | 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.
* | Restore DejaVu Sans Condensed font.Gravatar Konrad Borowski2014-09-23
| | | | | | | | With font-strentch: condensed, the rendering is acceptable.
* | lexicon_filter fix for escaped optionsGravatar Mark Griffiths2014-09-23
| | | | | | | | | | Fixes #1703. Also fixes short and long options markup in synopsis when directly following a '(' or '[' character.
* | Suppress italics in keyboard shortcutsGravatar Kevin Ballard2014-09-23
| |
* | Support `bind SEQ` to print a binding for `SEQ`Gravatar Kevin Ballard2014-09-22
| |
* | Fix build failureGravatar Kevin Ballard2014-09-22
| | | | | | | | std::vector::erase() didn't take const_iterator until C++11 >_<
* | Rework mode handling of `bind`Gravatar Kevin Ballard2014-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix `bind -e` without `-k`Gravatar Kevin Ballard2014-09-22
| | | | | | | | | | In adding `-k` support to `bind -e` I broke the ability to use `bind -e` without specifyign `-k`. Oops.
* | Update `bind` documentationGravatar Kevin Ballard2014-09-22
| | | | | | | | | | | | Document all the `bind` flags, including modes. Fixes #1663.
* | Support -k with `bind -e`Gravatar Kevin Ballard2014-09-22
| | | | | | | | Also return an exit code of 1 if `bind -k` can't match the key name.
* | Stop overriding <em> in user documentationGravatar Kevin Ballard2014-09-22
| | | | | | | | | | | | | | | | | | <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.
* | Show -M and -m flags in bind listGravatar Kevin Ballard2014-09-22
| |
* | Remove a redundant ivar setGravatar ridiculousfish2014-09-22
| |
* | Remove INTERNAL_BUFFER, which was only used by fish_pagerGravatar ridiculousfish2014-09-22
| |
* | Don't suppress output for `printf --help`Gravatar Kevin Ballard2014-09-21
| | | | | | | | Fixes #746.
* | Allow running executables with $ in their name.Gravatar ridiculousfish2014-09-21
| | | | | | | | Fixes #1686
* | Add wcstringutil to the OS X build for tests targetGravatar ridiculousfish2014-09-21
| |
* | Support wide characters in printf %cGravatar Kevin Ballard2014-09-21
| |
* | Add --right-prompt flag to readGravatar Kevin Ballard2014-09-21
| | | | | | | | | | | | | | 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.
* | Allow U+F8FF to be typedGravatar Kevin Ballard2014-09-21
| | | | | | | | | | | | 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.
* | R_MAX should be R_CANCEL nowGravatar Kevin Ballard2014-09-21
| |