aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Change abbr to allow non-letter keys (#2996)Gravatar Elis Axelsson2016-05-06
| | | | (cherry picked from commit 1c6f6df2b3ae4a13d89242964ca3dbd3c146d1fe)
* bump version for 2.3b2Gravatar David Adam2016-05-05
|
* CHANGELOG: update for 2.3b2Gravatar David Adam2016-05-05
|
* don't use colors when writing the ^C indicatorGravatar Kurtis Rader2016-04-30
| | | | | | There was an extended discussion in https://github.com/fish-shell/fish-shell/issues/2904 about using a bright yellow background to make the cancelled command indicator, ^C, standout. The upshot was that standout (i.e., reversing fg/bg colors) mode should be used until themes are agumented with proper support for background colors and special characters. (cherry picked from commit a897ef002521a3991adc4342189f0e30a0d048b0)
* Remove using_command from netctl completionsGravatar Fabian Homborg2016-04-30
| | | | | | This allows `; and netctl` to work. First step towards #2705.
* git completion: Allow optional "+" for pushGravatar Fabian Homborg2016-04-30
| | | | | | | | | | This signifies a force-push. To avoid cluttering, only complete branches if a + is already given. Fixes #2879. (cherry picked from commit fde26d404956f843860f2bf5bb00dd3e1636632a)
* Add repository/refspec completion to gitGravatar Fabian Homborg2016-04-30
| | | | | | | | | A few commands (fetch, pull and push at least) take a "repository" (aka "remote") and then a "refspec" (we currently do branches here). Fixes #2525 (seems that man is still alive) (cherry picked from commit b32bf2261617d30019d25d04ce451a29e7297c14)
* document new `fish_realpath` builtinGravatar Kurtis Rader2016-04-29
|
* provide a realpath implementationGravatar Kurtis Rader2016-04-29
| | | | | | | | | Not all distros have a `realpath` command. Provide a function that uses the real command if available else use the fish builtin. Fixes #2932 (cherry picked from commit 6c329e8a839c1b5eeaf2e545b4f4084c3a8830f7)
* fix bind unit testsGravatar Kurtis Rader2016-04-29
| | | | | | | | In my rush to get the fix for the wrong default Vi mode escape delay merged (commit 3e24ae80b3739ded7d4066349fc87d13f2b70727) I neglected to update the unit test. This change corrects that oversight. Cherry-picked from 5092904ea3a95c6ba78350c3b3761511f613fde8
* clarify fish_vi_mode deprecation warningGravatar Kurtis Rader2016-04-29
| | | | | | | | | Also, correct the Vi mode default escape timeout. I intended it to be 100 ms in my previous change but it ended up 10 ms which is far too short. A 10 ms delay will continue to cause problems for people running fish inside `screen`, `tmux`, or over high latency connections. Cherry-picked from 3e24ae80b3739ded7d4066349fc87d13f2b70727
* Issue a \r in fish_title, except when executing it for the promptGravatar ridiculousfish2016-04-29
| | | | | | | | | | | fish_title currently outputs some escaped text, which can confuse the line driver (#2453). Issue a carriage return so the line driver knows we are at the beginning of the line, unless we are writing the title as part of the prompt. In that case, we may have text from the previous command still on the line and we don't want to move the cursor. Fixes #2453
* git takes --help even when it needs a command (#2984)Gravatar Sanne Wouda2016-04-29
| | | `git --help` is a valid command and fish should complete it as such
* git completion: Only show unmerged branches for cherry-pickGravatar Fabian Homborg2016-04-29
|
* add way to comment/uncomment a commandGravatar Kurtis Rader2016-04-28
| | | | | | Fixes #2375 (cherry picked from commit 2f8d0e9aba3662fcb1032ffe33bc6faf2e04eb8f)
* fish.spec: hostname dependency for openSUSEGravatar David Adam2016-04-28
| | | | | | | As discussed in https://github.com/fish-shell/fish-shell/commit/ed4b78918a944fe3b3a1e05ac553e89d5f1fa411 [ci skip]
* Update usage of pcre2_substitute() for pcre2-10.21Gravatar Michael Steed2016-04-27
| | | | | | | | | - Set PCRE2_SUBSTITUTE_OVERFLOW_LENGTH to get the required buffer length from pcre2 instead of guessing - Set PCRE2_SUBSTITUTE_EXTENDED to enable extra goodies in the replacement string (cherry picked from commit c2f9d60eb1f04a3aa0b01d785c1e133cac8ecf1d)
* configure: require at least pcre2-10.21Gravatar Michael Steed2016-04-27
| | | | (cherry picked from commit c4c7983497e7be798c3bd1c97df38e8d1d1a58b8)
* env_universal_common.cpp: pass correct flag to fcntlGravatar David Adam2016-04-27
| | | | Closes #2955.
* Make busctl completions usefulGravatar Fabian Homborg2016-04-27
| | | | | | | | | - More accurate - Fast enough to be usable (previously, this would sometimes take a few seconds) - A bit smaller
* configure: enable GNU/POSIX extensions by defaultGravatar David Adam2016-04-21
| | | | Reenable mkostemp on Cygwin. Work on #2952.
* configure: work harder to ensure mkostemp usabilityGravatar David Adam2016-04-21
| | | | Closes #2952.
* Don't ship libpcre2.a in the OS X installer packageGravatar ridiculousfish2016-04-21
| | | | | This fix prevents the copy-to-install-path phase for this target in Xcode by setting the SKIP_INSTALL flag.
* CHANGELOG: flesh out some of the bigger changes in 2.3Gravatar David Adam2016-04-19
| | | | [ci skip]
* Bump version for 2.3b1Gravatar David Adam2016-04-19
|
* pcre2: add maintainer mode and disable by defaultGravatar David Adam2016-04-19
|
* Apply pcre2 svn rev 489 patch to fix CVE-2016-3191Gravatar Aaron Gyes2016-04-19
|
* Update Xcode build for new pcre2 versionGravatar David Adam2016-04-19
|
* Update to pcre2 10.21Gravatar Aaron Gyes2016-04-19
| | | | Point build tools at 10.21
* Allow overriding fish_term24bit on launchGravatar Fabian Homborg2016-04-18
| | | | (cherry picked from commit ba1008b75033e9ff8f4ad17fa2de25eed115de5c)
* Move 24bit setup into config.fishGravatar Fabian Homborg2016-04-18
| | | | | | Fixes #2941. (cherry picked from commit 8558561650995b330a1ae5ee87c592382856cc40)
* fix off by one errorGravatar Kurtis Rader2016-04-15
| | | | (cherry picked from commit ea3d9c36a52dcf6bcde0ff41af8ca19daca2267e)
* fish handling of readlink()Gravatar Kurtis Rader2016-04-15
| | | | | | | | | | | | | | The readlink() function does not null terminate the path it returns. Remove the OS X code that deals with a path buffer that is too short. For one thing a loop isn't needed since we're told how big of a buffer is required if the first _NSGetExecutablePath() call fails. But more important it is so unlikely that the path will be longer than PATH_MAX that if it is we should just give up. Fixes 2931. (cherry picked from commit 8e103c231e74a3dda40d0a0e5a844ea8b6aa1e4b)
* Add completions for 'pacaur' (#2934)Gravatar Yauhen Kirylau2016-04-15
|
* Correct typo in valgrind completionsGravatar Laurence McGlashan2016-04-15
|
* Remove the default self-insert binding in vi-default modeGravatar Fabian Homborg2016-04-15
| | | | Fixes #2832.
* Fix #2919 by removing the entire block.Gravatar Aaron Gyes2016-04-09
| | | | | | | | | | | | | | This code represents only risk and does nothing useful for anything that can compile fish. In C++ situations where __STDC_VERSION__ is unset (as it should be), fish was assuming we are on < C99 and setting it to __FUNCTION__. Basically always, __PRETTY_FUNCTION__ ends up reaplaced by __FUNCTION__, this hurt error message usefulness and richness. __PRETTY_FUNCTION__: const thing::sub(int) __FUNCTION__: sub
* fix handling of line continuation in keywordsGravatar Jak Wings2016-04-08
| | | | | | | This behavior is more consistent with line continuation in strings other than keywords. Fixes #2897
* add missing special-case for ../Gravatar Kurtis Rader2016-04-08
| | | | | When I reviewed the fix for #952 I noted that "../" wasn't handled but in my haste to merge it forgot to augment the pull-request.
* Remove non-existing functions in bind docsGravatar Fabian Homborg2016-04-08
| | | | | | At least delete-line was previously a thing, but none of these are still available. First part of #2914
* Fix "." and ".." paths in cd completionsGravatar Fabian Homborg2016-04-08
| | | | | Previously if a directory called "a" was in $CDPATH, `cd ./a<TAB>` would complete from there even if it was invalid.
* CHANGELOG: include release notes for previous releasesGravatar David Adam2016-04-08
| | | | [ci skip]
* CHANGELOG: move release_notes.html to a markdown documentGravatar David Adam2016-04-08
| | | | [ci skip]
* Migrate PATH-completion logic from complete.cpp to expand.cppGravatar ridiculousfish2016-04-07
| | | | | | | | | | | | | | | | Prior to this fix, when completing a command that doesn't have a /, we would prepend each component of PATH and then expand the whole thing. So any special characters in the PATH would be interpreted when performing tab completion. With this fix, we pull the PATH resolution out of complete.cpp and migrate it to expand.cpp. This unifies nicely with the CDPATH resolution already in that file. This requires introducing a new expand flag EXPAND_SPECIAL_FOR_COMMAND, which is analogous to EXPAND_SPECIAL_CD (which is renamed to EXPAND_SPECIAL_FOR_CD). This flag tells expand to resolve paths against PATH instead of the working directory. Fixes #952
* Stringify many completions and functions, with --invert stringification.Gravatar Aaron Gyes2016-04-08
| | | | | | | | I believe apm must have been buggy - example output that I found online showed `tr` was mangling paths with spaces in it. Should be fixed. Also, use dscl on OS X in __fish_complete_users.fish like __fish_print_users.fish already does.
* Implement an --invert/-v for string match, like grep -v.Gravatar Aaron Gyes2016-04-08
| | | | Only lines that do not match the pattern are shown.
* Complain less about "bogus" PATH entriesGravatar ridiculousfish2016-04-07
| | | | | | When determining the old path, get the existing value in any scope, not just the set scope. Also only complain about absolute paths: relative paths are expected to be invalid sometimes.
* Update Xcode project for latest XcodeGravatar ridiculousfish2016-04-07
|
* fix git command in lint.fish scriptGravatar Kurtis Rader2016-04-07
|
* Remove a dead function bool_from_env_varGravatar ridiculousfish2016-04-07
|