aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* remove "normal" from the basic color name tableGravatar Kurtis Rader2015-12-08
| | | | | | The special token "normal" should not be in the basic sixteen color table because a) it is not a color, and b) it is special cased with the result of resetting the terminal colors (usually via a ANSI X3.64 CSI [0m sequence).
* add support for ANSI "bright" colorsGravatar Kurtis Rader2015-12-08
| | | | | | | | | | | | | | This adds support for the ANSI x3.64 "bright" colors in the basic sixteen color palette. This is especially useful when trying to use the base colors as a background color. The "bright" variants tend to be more useful as background colors compared to the non-bright variants. This also fixes a bug in so far as palette number 7 is actually grey and not white whereas palette number 15 is white. At least on the terminal emulators on which I've tested this change (Ubuntu xterm & uxterm, Mac OS X Terminal & iTerm2). Resolves issue #1464.
* __fish_complete_man: rework AWK scriptGravatar David Adam2015-12-04
| | | | | | | Adds support for the man-db alias format used in CentOS/RHEL 5 Adds basic support for the output of apropos on Solaris Work on #2087.
* configure.ac: use correct headers for TPARM_SOLARIS_KLUDGE checkGravatar David Adam2015-12-04
| | | | Should fix the build at least partly on msys2.
* Don't print the jobs header when stdout is redirectedGravatar ridiculousfish2015-12-03
|
* Fix the error message not being outputedGravatar Max Nordlund2015-12-03
|
* Fix wrong exit code for `jobs` #2505Gravatar Max Nordlund2015-12-03
|
* Add completion for pkg-configGravatar Fabian Homborg2015-12-03
|
* Add completion for systemd-nspawnGravatar Fabian Homborg2015-12-03
|
* Add completion for systemd-analyzeGravatar Fabian Homborg2015-12-03
|
* Merge pull request #2575 from mrshu/mrshu/improve-git-remoteGravatar Fabian Homborg2015-11-30
|\ | | | | git: Improve completion for git remote
| * git: Improve completion for git remoteGravatar mr.Shu2015-11-29
|/ | | | | | | | | | * Make sure that the `git remote` subcommands are not repeatedly suggested (that is do not suggest a subcommand if there already is one). * Add both long and short options to `git remote` subcommands where appropriate. Signed-off-by: mr.Shu <mr@shu.io>
* Merge pull request #2573 from mrshu/mrshu/add-missing-git-remote-subcommandsGravatar Fabian Homborg2015-11-28
|\ | | | | git: Add missing remote subcommands completion
* \ Merge pull request #2572 from lordlycastle/masterGravatar Fabian Homborg2015-11-28
|\ \ | | | | | | Added completions for cat, cp, mktemp, stat, touch for OS X.
* | | env_universal_common.cpp: don't bother trying nonexistent pathGravatar David Adam2015-11-28
| | |
* | | env.cpp: warn when wgetcwd() failsGravatar David Adam2015-11-28
| | | | | | | | | | | | Closes #2321
| | * git: Add missing remote subcommands completionGravatar mr.Shu2015-11-28
| |/ |/| | | | | | | | | | | | | * Add completion for missing `git remote` subcommands. * Should fix #2567 Signed-off-by: mr.Shu <mr@shu.io>
| * Added completions for cat, cp, mktemp, stat, touch for OS X.Gravatar lordlycastle2015-11-28
| |
* | fish_tests.cpp: use temporary path for completion testsGravatar David Adam2015-11-27
| | | | | | | | Closes #2322
* | Complete bg and fg with job PIDs.Gravatar Daniel Matz2015-11-27
| |
* | Add a function to complete job PIDs.Gravatar Daniel Matz2015-11-27
| |
* | Fix tab completion after '%' character.Gravatar Daniel Matz2015-11-27
|/
* Remove circular dependency in fallback seqGravatar Fabian Homborg2015-11-27
| | | | | | This was subtle because `type` invoked seq. Fixes #2570
* Add completion for OSX rmGravatar Fabian Homborg2015-11-27
| | | | | As always, this not only doesn't support longopts, but also has some options that GNU rm doesn't - in this case, an undelete function.
* Update hg completionGravatar Daniel Matz2015-11-23
| | | | | | | | | | | | | | | This does a number of things: - Removing trailing space from suggested repos for hg. - Use the string builtin for hg completions. - Add more internal merge tools to hg completion. - Enable completions for abbreviated hg commands. - Stop completing a deprecated hg branches option. - Properly match the hg subcommand when preceeded by global switches. - Stop completing deprecated hg glog. - Complete hg config instead of showconfig. - Properly complete when global switches are before the hg command. - Properly handle the repository switch for hg completions. - Properly handle the hg global switch cwd.
* Add completions for OSX whichGravatar Fabian Homborg2015-11-23
|
* Add more sudo optionsGravatar Fabian Homborg2015-11-23
|
* Support the OSX versions of head/tailGravatar Fabian Homborg2015-11-19
| | | | | | See #2537. These were written from the online versions of the manpages.
* math: Join lines manuallyGravatar Fabian Homborg2015-11-19
| | | | | | This is an issue with 15-year old versions of bc that don't support BC_LINE_LENGTH. Closes #2548
* psub: add -s, --suffixGravatar Eugene Sharygin2015-11-14
|
* Add completion for stringGravatar Fabian Homborg2015-11-12
| | | | | | | A bit simplistic since we can't complete e.g. regexes properly, but it does the job. Fixes #2543
* Merge pull request #2539 from seethemhigh/docs-typosGravatar Fabian Homborg2015-11-10
|\ | | | | Fix a doc typo
| * Fix a doc typoGravatar seethemhigh2015-11-10
|/
* Upgrade Xcode project for newest XcodeGravatar ridiculousfish2015-11-09
|
* Remove duplicate \cw binding in default key bindingsGravatar ridiculousfish2015-11-08
|
* Attempt to fix the sporadic uvar test failures on LinuxGravatar ridiculousfish2015-11-08
| | | | | | | | | | | | | | | | | | We identify when the universal variable file has changed out from under us by comparing a bunch of fields from its stat: inode, device, size, high-precision timestamp, generation. Linux aggressively reuses inodes, and the size may be the same by coincidence (which is the case in the tests). Also, Linux officially has nanosecond precision, but in practice it seems to only uses millisecond precision for storing mtimes. Thus if there are three or more updates within a millisecond, every field we check may be the same, and we are vulnerable to the ABA problem. I believe this explains the occasional test failures. The solution is to manually set the nanosecond field of the mtime timestamp to something unlikely to be duplicated, like a random number, or better yet, the current time (with nanosecond precision). This is more in the spirit of the timestamp, and it means we're around a million times less likely to collide. This seems to fix the tests.
* Fix key_reader make target.Gravatar Gordon Tyler2015-11-08
|
* Use unused cleanup_autogenerated_fileGravatar Alexander Hedges2015-11-08
|
* Remove autogenerated files before generating the new onesGravatar Alexander Hedges2015-11-08
| | | | | | | Currently if there is a conflict with two manpages having the same name, one completion will override the other. But if one can be parsed and the other can't the one with parsed results will always have a higher priority.
* Guard against files that don't end in .[1...9]Gravatar Alexander Hedges2015-11-08
| | | | | | | It seems smart to only let files be parsed that are clearly manpage files. Other files wouldn't be openend by man so I think it is safe to guess that only these files are man pages.
* Ignore references to builtin on the macGravatar Alexander Hedges2015-11-08
| | | | | On my system (OS-X 10.11) references to builtin are denoted by: ".so man1/builtin.1". So you also need to check against that.
* Make input_mapping_execute stop returning R_NULL too oftenGravatar ridiculousfish2015-11-07
| | | | | | | | | | input_mapping_execute, when passed false for allow_commands, will return R_NULL. However currently it does this unconditionally, even if we don't have any commands. This defeats our read-ahead optimization, so we always read and process one byte at a time. This caused pasting to be much slower. Fixes #2215
* Teach the cd autosuggestion how to descend "unique" hierarchiesGravatar ridiculousfish2015-11-07
| | | | | | | | If we are cd'ing into a directory, and the directory has only one child which is itself a directory, the autosuggestion should descend as far as it can. Fixes #2531
* vi-mode: Inherit \cf and \cb bindings as wellGravatar Fabian Homborg2015-11-06
| | | | | | | This makes them {forward,backward}-char instead of -word, which means they accept suggestions _fully_. Fixes #2255
* Improve apt-get completionGravatar maxried2015-11-01
| | | Added apt-get changelog sub-command completion.
* tests: try longer timeout in case setting fish_key_bindings is taking too longGravatar David Adam2015-10-30
|
* Update fish_default_key_bindings.fishGravatar maxried2015-10-29
| | | fish_default_key_bindings.fish comments were wrong. Corrected comment about pagination.
* vi-mode: Make \cb do backward-word againGravatar Fabian Homborg2015-10-28
| | | | This is mentioned in the documentation, so keep it for now.
* vi: Bind \cx to end-of-line in insert modeGravatar Fabian Homborg2015-10-28
| | | | This will also accept any autosuggestion completely.
* Add cargo and rustc completion.Gravatar Bheesham Persaud2015-10-26
| | | | rustc.fish makes heavy use of the `string` commands.