aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* git completions: Ignore stderr everywhereGravatar Fabian Homborg2016-06-04
| | | | | | This allows us to run git commands outside of a git repo. Fixes #3114.
* put curses/terminfo vars into the environmentGravatar Kurtis Rader2016-06-03
| | | | | | | | | | | | | We need to actually export the curses/terminfo env vars in order for `setupterm()` to be able to use them. While fixing this I reworked the fallback logic implemented by @zanchey in response to issue #1060 in order to simplify the logic and clarify the error messages. This does not allow someone to change the curses/terminfo env vars after the first prompt is displayed (you can but it won't affect the current fish process). It only makes it possible to set `TERM`, `TERMINFO`, and `TERMINFO_DIRS` in *config.fish* or similar config file and have them be honored by fish.
* Don't insert prefix for non-prefix matchesGravatar Fabian Homborg2016-06-02
| | | | | | | | | | | | | | | | | | The issue here is that when inserting a common prefix for e.g. a substring match, we increase the amount of available candidates again to things the user didn't want. An example is in share/functions - a completion for "inter" would previously expand to "__fish_" because it matched: - __fish_config_interactive.fish - __fish_print_interfaces.fish - __fish_print_lpr_printers.fish The completion afterwards would then show 189 possible matches, only three of which (the above) actually matched the original "inter". Fixes #3089.
* mention nullglob exceptions in failglob error msgGravatar Beni Cherniavsky-Paskin2016-06-02
|
* Add completions for git blame command (#3094)Gravatar Hunsu2016-06-02
|
* fix lint error in wgettext()Gravatar Kurtis Rader2016-06-01
| | | | | | | | | | | | | | | | Cppcheck was complaining about the `return val.c_str()` at the end of the `wgettext()` function. That would normally a bug since the lifetime of `val` ends when the function returns. In this particular case that's not true because the string is interned in a cache. Nonetheless, rather than suppress the lint warning I decided to modify the API to be more idiomatic. In the process of fixing the aforementioned lint warning I fixed several other lint errors in that module. This required making our copy of `wgetopt()` compatible with the rest of the fish code. Specifically, by removing its local definitions of the "_" macro so it uses the same macro used everywhere else in the fish code. The sooner we kill the use of wide chars the better.
* Do not hardcode RGB values in color definitions.Gravatar Jorge Bucaran2016-06-01
|
* travis: disable clang buildGravatar David Adam2016-06-02
| | | | | | | Clang repositories currently offline, causing build errors. Can be reverted once https://github.com/travis-ci/travis-ci/issues/6120 is fixed.
* correct __fish_contains_opts to __fish_contains_opt (#3102)Gravatar Jens Fredskov2016-06-01
| | | Completion throws and error about the command `__fish_contains_opts` beings unknown. It seems to be a simple typo, as all other completions use `__fish_contains_opt`
* Add Purge Subcommand Completion for Apt (#3097)Gravatar Fahri Cihan Demirci2016-06-01
|
* Make string match -rnv workGravatar Fabian Homborg2016-05-31
| | | | Fixes #3098.
* simplify some fish_tests codeGravatar Kurtis Rader2016-05-30
| | | | | This came to my attention because cppcheck was warning about possibly dereferncing a NULL pointer.
* Style fixes for fish_vi_cursorGravatar Fabian Homborg2016-05-30
| | | | | | "$fcn" [ci skip]
* license.hdr: remove strlcat license informationGravatar David Adam2016-05-30
| | | | | | Function and code removed in 5bf1b0e5f [ci skip]
* fix random lint issuesGravatar Kurtis Rader2016-05-29
| | | | | | | | This only eliminates errors reported by `make lint`. It shouldn't cause any functional changes. This change does remove several functions that are unused. It also removes the `desc_arr` variable which is both unused and out of date with reality.
* Fix utf-8 decoding error in file_is_overwritable of ↵Gravatar Andreas Wagner2016-05-29
| | | | create_manpage_completions.py
* Remove stray "0" output from man completionsGravatar Fabian Homborg2016-05-29
|
* Man completions: Don't show sections when completing pagesGravatar Fabian Homborg2016-05-29
|
* Man completions: Show all pages for a sectionGravatar Fabian Homborg2016-05-29
| | | | If one is given, of course.
* Indent __fish_git_promptGravatar Fabian Homborg2016-05-29
|
* Git prompt: Remove legacy optionGravatar Fabian Homborg2016-05-29
| | | | | Git has supported `rev-list --count` for years, so this shouldn't be needed anymore.
* Stringify git promptGravatar Fabian Homborg2016-05-29
|
* git completions: Add general optionsGravatar Fabian Homborg2016-05-29
| | | | | | These are the options between `git` and the subcommand. Fixes #3087.
* It's `status --is-interactive` (#3086)Gravatar Wieland Hoffmann2016-05-29
|
* Git prompt: Shorten the sha ourselvesGravatar Fabian Homborg2016-05-28
| | | | Possibly fixes #3083.
* Git prompt: Only shorten sha if neededGravatar Fabian Homborg2016-05-28
| | | | | | | | | | | This speeds up the common case when IO is slow, e.g. when used with sshfs. We only use the short sha for figuring out whether the state is valid (for which a long sha should also work) and for display when HEAD is detached (I think that's the correct git-ism). Working towards #3083.
* History docs: Move descriptions to the corresponding optionsGravatar Fabian Homborg2016-05-28
| | | | | | | This should clarify `--delete`s behavior without `--prefix` or `--contains` a bit. Fixes #3054.
* Funced: Make removal safer, take twoGravatar Fabian Homborg2016-05-28
| | | | | Now we try to remove the file and then the directory, without forcing anything, showing any (quite unexpected) error to the user, once.
* Allow suggestion when selecting in pagerGravatar Fabian Homborg2016-05-27
| | | | Also mentioned in #3016.
* Allow autosuggestion after completionGravatar Fabian Homborg2016-05-27
| | | | | | | | | It seems kinda silly to not directly do it, but it was explicitly stopped in the code. I'm quite good at deleting that, aren't I? Fixes #3016.
* Split off __fish_complete_blockdevice from mount.fish.Gravatar Frederik “Freso” S. Olesen2016-05-27
| | | | | | The __fish_complete_blockdevice function can be useful to other completions than mount.fish, so it should live on its own so its available to those.
* Remove executable flag from pacaur completion.Gravatar Frederik “Freso” S. Olesen2016-05-27
|
* fix some style bogosities that crept inGravatar Kurtis Rader2016-05-27
|
* Fix wide char related tests on CygwinGravatar Kurtis Rader2016-05-26
| | | | | | | | This makes the wide char tests run by `./fish_tests` pass on systems where sizeof wchar_t is two (e.g., Cygwin). In doing so it corrects several problems with the underlying code in module *utf8.cpp* such as allowing five and six byte UTF-8 sequences. They were allowed by the original Unicode proposal but are not allowed by the adopted standard.
* Document the rest of the electric/ro varsGravatar Fabian Homborg2016-05-26
| | | | Fixes #3072.
* Remove $versionGravatar Fabian Homborg2016-05-26
| | | | | It's too generic a name - which both does not communicate what it is and prevents someone else from using it.
* configure: move an errant spaceGravatar David Adam2016-05-25
| | | | Introduced in 6b92fdd18d39.
* tty driver ignore lnext (\cV) and werase (\cW)Gravatar Kurtis Rader2016-05-25
| | | | | | | | | | Configure the tty driver to ignore the lnext (\cV) and werase (\cW) characters so they can be bound to fish functions. Correct the `fish_key_bindings` program to initialize the tty in the same manner as the `fish` program. Fixes #3064
* make_pkg: allow output to an environment-controlled pathGravatar David Adam2016-05-25
|
* make_pkg: use a temporary directory rather than just /tmpGravatar David Adam2016-05-25
|
* make_tarball: use a temporary directory rather than just /tmpGravatar David Adam2016-05-25
|
* make_tarball: search for a tar that supports the options we needGravatar David Adam2016-05-25
|
* make_tarball: allow output to an environment-controlled pathGravatar David Adam2016-05-25
|
* make_tarball: minor cleanupGravatar David Adam2016-05-25
|
* CONTRIBUTING.md: Describe emacs fish-mode setupGravatar Fabian Homborg2016-05-25
|
* Update changelog with clipboard changeGravatar Fabian Homborg2016-05-25
|
* Add git hooks information and exampleGravatar Fabian Homborg2016-05-25
| | | | This might be useful to contributors.
* Run fish_indent on default_key_bindingsGravatar Fabian Homborg2016-05-25
|
* Add clipboard helper functions and bind themGravatar Fabian Homborg2016-05-25
| | | | \cy copies, \cv pastes.
* docs: Remove section about clipboard integrationGravatar Fabian Homborg2016-05-25
|